ReferenceFunctions
utf8ByteLength()
function utf8ByteLength(text): number;Defined in: packages/protocol/src/bytes.ts:8
The number of bytes text takes in UTF-8, what the 160-byte limit counts.
Parameters
text
string
Text to measure
Returns
number
function utf8ByteLength(text): number;Defined in: packages/protocol/src/bytes.ts:8
The number of bytes text takes in UTF-8, what the 160-byte limit counts.
string
Text to measure
number