toByteString -package:cborg

Encode a UUID into a ByteString in network order. This uses the same encoding as the Binary instance.
Run the builder to construct a strict bytestring containing the sequence of bytes denoted by the builder. This is done by first serializing to a lazy bytestring and then packing its chunks to a appropriately sized strict bytestring.
toByteString = packChunks . toLazyByteString
Note that toByteString is a Monoid homomorphism.
toByteString mempty          == mempty
toByteString (x `mappend` y) == toByteString x `mappend` toByteString y
However, in the second equation, the left-hand-side is generally faster to execute.
Converts to UTF-8 encoded ByteString
transform a list of ASN1 Events into a strict bytestring
O(n) when unpinned, O(1) when pinned. Create a ByteString from a byte sequence. This only copies the byte sequence if it is not pinned.
O(1). Unpack a ByteString from an array.
Wrap a Buffer into a ByteString using the given offset and length.
Converts an email address back to a ByteString
Convert a MIDI file to a lazy ByteString.
O(n) - Convert any source array into a strict ByteString. In case when the source array is actually storable, no memory copy will occur.
Copy the area from start to the current pointer to ByteString.
O(n). Converts the builder into a strict bytestring.
Copy to a ByteString. The most significant bits of the last byte are padded with 0 unless the array was a multiple of 8 bits in size.
A shorthand for buildByteString . put.
Unwrap name to bytestring
Convert sequence characters to byte string.
Convert a value to a strict ByteString