Word16
16-bit unsigned integer type
O(1) Return the suffix of the Text, with n Word16 units dropped from its beginning.
If n would cause the Text to begin inside a surrogate pair, the beginning of the suffix will be advanced by one additional Word16 unit to maintain its validity.
O(1) Return the length of a Text in units of Word16. This is useful for sizing a target array appropriately before using unsafeCopyToPtr.
O(1) Return the prefix of the Text of n Word16 units in length.
If n would cause the Text to end inside a surrogate pair, the end of the prefix will be advanced by one additional Word16 unit to maintain its validity.