@midnight-ntwrk/midnight-js-utils v0.2.5 • API
Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-utils / ParsedHexString
Type alias: ParsedHexString
ParsedHexString:
Object
The result of parsing a string as a hex-encoded string.
Type declaration
byteChars
readonly
byteChars:string
The captured sequence of whole bytes found in the source string.
hasPrefix
readonly
hasPrefix:boolean
A flag indicating if the hex-string has a '0x'
prefix.
incompleteChars
readonly
incompleteChars:string
The remaining characters of incomplete bytes and/or the non hexadecimal characters found in the source string.