StaticbytesUTF8Read native BytesUTF8 for one unsigned codepoint.
characterUnsigned 32-bit codepoint.
Encoded byte count, or zero above the native Unicode range.
StaticconvertConvert a byte-offset batch in one native call.
valueRetained StringView with lazily cached boundaries.
offsetsFixed unshared input Int32Array.
outputOptionalSame-sized reusable output, including overlapping input.
Supplied output, or an independently owned native snapshot.
StaticconvertResolve native byte-to-character offsets using a cached native index.
valueReuse a StringView to avoid rebuilding the index.
offsetSigned 32-bit byte offset; interior bytes round forward.
Native codepoint offset, distinct from JavaScript UTF-16.
StaticconvertConvert a character-offset batch in one native call.
valueRetained StringView with lazily cached boundaries.
offsetsFixed unshared input Int32Array.
outputOptionalSame-sized reusable output, including overlapping input.
Supplied output, or an independently owned native snapshot.
StaticconvertResolve native character-to-byte offsets using a cached native index.
valueReuse a StringView to avoid rebuilding the index.
offsetSigned 32-bit codepoint offset, clamped to the view.
Native byte offset.
StaticdecodeApply Rml::StringUtilities::DecodeRml in one native pass.
valueRML text.
Decoded native entities; newly decoded entities are not reparsed.
StaticencodeApply Rml::StringUtilities::EncodeRml.
valueInput text.
Text with native RML entities.
StaticendsApply native EndsWith to complete byte views.
valueSource text.
suffixRequired ending bytes.
Whether the source ends with the suffix.
StaticexpandExpand native lists, optionally using custom opening and closing quotes.
valueList text.
delimiterASCII delimiter, default comma.
quoteOrIgnoreOpening quote, or ignore-repeated flag.
unquoteOptionalClosing quote for the custom overload.
ignoreRepeatedDelimitersOmit empty interior entries.
Native expanded entries; default quotes are removed.
StaticisApply native IsWhitespace to CR, LF, space and tab.
valueOne ASCII byte.
Native whitespace membership.
StaticjoinAppend native JoinString output to an optional initial string.
valuesInput string list.
delimiterASCII separator, default comma; NUL adds no separator.
initialNative destination's initial contents.
Native appended string.
StaticlengthUTF8Read native LengthUTF8, which counts non-continuation bytes.
valueText or byte view.
Native codepoint count.
StaticreplaceApply native Replace for text or numeric byte characters.
valueSource text.
searchText or byte from zero to 255.
replacementSame kind of value as search.
Replaced text; an empty string search leaves the input unchanged.
StaticseekResolve native SeekBackwardUTF8 as a safe numeric byte offset.
valueNonempty UTF-8 byte view.
offsetDereferenceable byte offset.
First preceding non-continuation position, or minus one.
StaticseekResolve native SeekForwardUTF8 as a checked byte offset.
valueUTF-8 byte view.
offsetPosition from zero through the byte end.
First non-continuation position at or after offset.
StaticstartsApply native StartsWith to complete byte views.
valueSource text.
prefixRequired starting bytes.
Whether the source starts with the prefix.
StaticstringApply native StringCompareCaseInsensitive using ASCII folding.
lhsLeft byte view.
rhsRight byte view.
Whether the folded bytes are equal.
StaticstripApply both native StripWhitespace overloads through a retained view.
valueText or byte view.
Text trimmed using native whitespace rules.
StatictoRead native ToCharacter at an explicit byte offset.
valueUTF-8 text or partial byte view.
offsetDereferenceable byte offset.
Native codepoint; invalid or truncated bytes decode as zero.
StatictoApply native ToLower to ASCII letters only.
valueInput text.
Lowercase ASCII text.
StatictoApply native ToUpper to ASCII letters only.
valueInput text.
Uppercase ASCII text.
StatictoUTF8Apply either native ToUTF8 overload in one call.
charactersUnsigned codepoint or fixed unshared Uint32Array.
Native UTF-8 text; invalid codepoints are omitted with a warning.
StatictrimApply TrimTrailingDotZeros to a checked decimal representation.
valueSigned or unsigned decimal with a dot and digits.
Text without trailing decimal zeroes or an empty decimal dot.
Native Rml::StringUtilities with UTF-8 byte and codepoint positions.
Remarks
ASCII folding, RML entity decoding and quote rules are the native rules. Reuse StringView for cached batched offset lookup instead of rescanning text.