Static Readonly BufferError thrown when a buffer constructor is not detected.
Static Readonly ComplexError thrown when a complex type format is invalid.
Static Readonly ErrError thrown when a complex type format is not detected.
Static Readonly ErrError thrown when a JSON constructor is not found.
Static Readonly simpleA record of simple CLTypes indexed by their TypeID.
Static Readonly simpleA record of simple CLTypes indexed by their TypeName.
Static Private fromStatic fromStatic fromStatic getStatic matchParses a CLType from a Uint8Array.
An object containing the parsed CLType and the remaining bytes.
BufferConstructorNotDetectedError if the type is not recognized.
The Uint8Array to parse.
Generated using TypeDoc
A utility class for parsing various CLTypes from different formats, such as JSON, strings, and bytes. This class includes static methods for handling both simple and complex types, along with error handling for unsupported or unrecognized formats.