Data.Bytes.Base64
encode :: Bytes -> ByteArray Source #
Encode a byte sequence with base64.
builder :: Bytes -> Builder Source #
Encode a byte sequence with base64 as a builder.
recodeBoundedBuilder :: Nat n -> Builder n -> Builder (4 * Div (n + 2) 3) Source #
Encode a byte sequence with base64. This augments a builder by first playing the original builder to paste the byte sequence and then performing the base64 encoding in-place on the buffer that had been pasted into.
decode64 :: Bytes -> Maybe Word64 Source #