UNPKG

@hazae41/base58

Version:
12 lines (11 loc) 293 B
export var base16; (function (base16) { function encode(data) { return data.toHex(); } base16.encode = encode; function decode(text) { return Uint8Array.fromHex("0".repeat(text.length % 2) + text); } base16.decode = decode; })(base16 || (base16 = {}));