OxL Reference

3.2 Strings and bytes

TypeSemantics
strimmutable UTF-8 string; copying is cheap (shared buffer); indexing by bytes is forbidden, access through chars(), bytes(), slices on character boundaries
Stringmutable string buffer; s.freeze() -> str
bytesimmutable byte sequence, copying is cheap
Buffermutable byte buffer

Source: docs/spec/oxl-standard.en.md