Returns the bigint representation of the encoded data in the RLP instance.
The bigint representation of the encoded data.
Returns the encoded data as a Uint8Array.
The encoded data.
Returns the number representation of the encoded data in the RLP instance.
The number representation of the encoded data.
Compares the current RLP instance with another RLP instance.
The RLP instance to compare.
0 if the RLP instances are equal, -1/1 if they are not.
Relies on compareTo to check if the RLP instances are equal.
The RLP instance to compare.
true if the RLP instances are equal, false otherwise.
Static
ofStatic
ofProtected
Static
packHandles the RLP packing of data. Recursively processes through object properties or array elements to prepare data for RLP encoding.
The object data to be packed.
Profile for encoding structures.
Encoding context for error tracing.
Packed data as RLPInput.
Protected
Static
unpackHandles the RLP unpacking of data. Recursively processes through packed properties or elements to prepare data post RLP decoding.
The packed data to be unpacked.
Profile for decoding structures.
Decoding context for error tracing.
Unpacked data as RLPValueType.
Root interface for all the classes part of the
VeChain Data Model
to provide a coherent API to represent, encode, and cast data among data types.