This package implements hexadecimal encoding and decoding routines for the Motoko programming language.
- DFINITY SDK v0.6.16
Encode an array of unsigned 8-bit integers in hexadecimal format.
public func encode(array : [Word8]) : Text
Decode an array of unsigned 8-bit integers in hexadecimal format.
public func decode(text : Text) : Result<[Word8], DecodeError>