BorshBigUintCodec class

Big Uint Codec

A codec for unsigned big-integers.

Inheritance
Mixed-in types
Implementers

Constructors

BorshBigUintCodec.new(int byteLength)
Creates a codec for unsigned big-integers.
const

Properties

byteLength int
The number of bytes required to store any instance of T (i.e. max size).
final
decoder BorshDecoder<BigInt>
Returns the decoder of this, converting from T to S.
no setteroverride
encoder BorshEncoder<BigInt>
Returns the encoder from S to T.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<Iterable<int>, BigInt>
Inverts this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cOption() BorshOptionSizedCodec<BigInt>
Converts this codec to an c-option code of type T.
inherited
decode(Iterable<int> encoded) BigInt
Decodes encoded data.
inherited
encode(BigInt input) Iterable<int>
Encodes input.
inherited
fuse<R>(Codec<Iterable<int>, R> other) Codec<BigInt, R>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
option() BorshOptionSizedCodec<BigInt>
Converts this codec to an option code of type T.
inherited
pack(BufferWriter buffer, BigInt input) → void
Writes input to buffer.
inherited
size(BigInt input) int
Returns the serialized byte length of input.
override
string() BorshCodecFixedSized<String>
Creates a new codec that parses a BigInt string.
toString() String
A string representation of this object.
inherited
unpack(BufferReader buffer) BigInt
Reads T from buffer.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited