Word16

data Word16
base Data.Word
16-bit unsigned integer type
dropWord16 :: I16 -> Text -> Text
text Data.Text.Foreign
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.
lengthWord16 :: Text -> Int
text Data.Text.Foreign
O(1) Return the length of a Text in units of Word16. This is useful for sizing a target array appropriately before using unsafeCopyToPtr.
takeWord16 :: I16 -> Text -> Text
text Data.Text.Foreign
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.