pack -package:tar

O(n) Convert a [Word8] into a ByteString. For applications with large numbers of string literals, pack can be a bottleneck. In such cases, consider using unsafePackAddress (GHC only).
O(n) Convert a String into a ByteString For applications with large numbers of string literals, pack can be a bottleneck.
O(n) Convert a '[Word8]' into a ByteString.
O(n) Convert a String into a ByteString.
O(n). Convert a list into a ShortByteString
O(n) Convert a String into a Text. Performs replacement on invalid scalar values, so unpack . pack is not id:
>>> Data.Text.unpack (pack "\55555")
"\65533"
O(n) Convert a String into a Text. Performs replacement on invalid scalar values, so unpack . pack is not id:
>>> Data.Text.Lazy.unpack (Data.Text.Lazy.pack "\55555")
"\65533"
Pack a list of OsChar to an OsPath. Note that using this in conjunction with unsafeFromChar to convert from [Char] to OsPath is probably not what you want, because it will truncate unicode code points.
Pack a list of platform words to a platform string. Note that using this in conjunction with unsafeFromChar to convert from [Char] to platform string is probably not what you want, because it will truncate unicode code points.
Pack a list of platform words to a platform string. Note that using this in conjunction with unsafeFromChar to convert from [Char] to platform string is probably not what you want, because it will truncate unicode code points.
Pack a list of bytes into a bytearray
Deprecated: use fill instead
Pack a list of bytes into a bytearray
O(n) Convert a String into a Text. Subject to fusion. Performs replacement on invalid scalar values.
O(n) Convert a String into a Text. Subject to fusion. Performs replacement on invalid scalar values.
Synonym for fromList
Construct a ShortText from a list of Chars. This is an alias for fromString.
Improper lens from unpacked Word8s to packaged ByteStrings
O(n) Convert a String into a ShortText.
O(n) Convert a monadic stream of individual Word8s into a packed byte stream.
O(n) Convert a stream of separate characters into a packed byte stream.
O(n) Convert a String into a JSString. Subject to fusion.