Implements base32 encoding as specified by RFC 4648.
Implements base64 encoding as specified by RFC 4648.
Provides simple translation between numbers and byte sequences.
Binary.LittleEndian.fromNat16(0xFF)
// [255, 0]
Binary.BigEndian.fromNat16(0xFF)
// [0, 255]
Provides hexadecimal encoding and decoding methods for Motoko.
Encode an array of unsigned 8-bit integers in hexadecimal format.
encode(ns : [Nat8]) : Text
Decode an array of unsigned 8-bit integers in hexadecimal format.
decode(t : Text) : Result<[Nat8],Text>