- Preparing search index...
- The search index is not available
Stacks.js
Function lengthPrefixedString
- lengthPrefixedString(something, map?, maxByteLength?, prefixByteLength?): Uint8Array
-
Parameters
-
something: undefined | null | string
-
map: ((something) => Uint8Array) = utf8ToBytes
-
- (something): Uint8Array
-
Returns Uint8Array
-
maxByteLength: number = 40
-
prefixByteLength: number = 1
Returns Uint8Array