Converts an ASCII string to the equivalent bytes
Converts bigint to byte array
bigint value to be converted
byte array optional length
byte array
Converts bytes to the equivalent ASCII string
Converts bytes to the equivalent hex string
Converts bytes to the equivalent UTF-8 string
Calculate the base64 encoded string length for a given input length. This is equivalent to the byte length when the string is ASCII or UTF8-8 encoded.
Converts a hex string to the equivalent bytes
Converts a UTF-8 string to the equivalent bytes
Generated using TypeDoc
@stacks/common
Common utilities used by Stacks.js packages.
Installation