Word16

data Word16
base Data.Word
16-bit unsigned integer type
word16BE :: FixedPrim Word16
bytestring Data.ByteString.Builder.Prim
Encoding Word16s in big endian format.
word16BE :: Word16 -> Builder
bytestring Data.ByteString.Builder
Encode a Word16 in big endian format.
word16Dec :: BoundedPrim Word16
bytestring Data.ByteString.Builder.Prim
Decimal encoding of a Word16.
word16Dec :: Word16 -> Builder
bytestring Data.ByteString.Builder
Decimal encoding of a Word16 using the ASCII digits.
word16Hex :: BoundedPrim Word16
bytestring Data.ByteString.Builder.Prim
Hexadecimal encoding of a Word16.
word16Hex :: Word16 -> Builder
bytestring Data.ByteString.Builder
Shortest hexadecimal encoding of a Word16 using lower-case characters.
word16HexFixed :: FixedPrim Word16
bytestring Data.ByteString.Builder.Prim
Encode a Word16 using 4 nibbles.
word16HexFixed :: Word16 -> Builder
bytestring Data.ByteString.Builder
Encode a Word16 using 4 nibbles.
word16Host :: FixedPrim Word16
bytestring Data.ByteString.Builder.Prim
Encoding Word16s in native host order and host endianness.
word16Host :: Word16 -> Builder
bytestring Data.ByteString.Builder.Extra
Encode a Word16 in native host order and host endianness.
word16LE :: FixedPrim Word16
bytestring Data.ByteString.Builder.Prim
Encoding Word16s in little endian format.
word16LE :: Word16 -> Builder
bytestring Data.ByteString.Builder
Encode a Word16 in little endian format.
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.
dropWord16 :: Int -> Text -> Text
text Data.Text.Unsafe
O(1) Unchecked drop of k Word16s from the front of a Text.
lengthWord16 :: Text -> Int
text Data.Text.Unsafe, 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.
takeWord16 :: Int -> Text -> Text
text Data.Text.Unsafe
O(1) Unchecked take of k Word16s from the front of a Text.