# Functions

No description provided by the author
BigIntToUintBytes encodes the given big.Int to a big endian encoded unsigned integer byte slice of the given byte length, returning an error if the given big.Int would be bigger than the maximum number the byte slice of the given length could hold.
初始化一个rpc客户端.
No description provided by the author
No description provided by the author
NewOptionBool creates an OptionBool with a value.
NewOptionBoolEmpty creates an OptionBool without a value.
NewU128 creates a new U128 type.
NewU16 creates a new U16 type.
NewU256 creates a new U256 type.
NewU32 creates a new U32 type.
NewU64 creates a new U64 type.
NewU8 creates a new U8 type.
No description provided by the author
No description provided by the author
No description provided by the author
ToKeyedVec replicates the behaviour of Rust's to_keyed_vec helper.
No description provided by the author
UintBytesToBigInt decodes the given byte slice containing a big endian encoded unsigned integer to a big.Int.

# Structs

No description provided by the author
Decoder is a wraper around a Reader that allows decoding data items from a stream.
Encoder is a wrapper around a Writer that allows encoding data items to a stream.
No description provided by the author
OptionBool is a structure that can store a boolean or a missing value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
U128 is an unsigned 128-bit integer, it is represented as a big.Int in Go.
U256 is an usigned 256-bit integer, it is represented as a big.Int in Go.

# Interfaces

Decodeable is an interface that defines a custom encoding rules for a data type.
Encodeable is an interface that defines a custom encoding rules for a data type.

# Type aliases

U16 is an unsigned 16-bit integer.
U32 is an unsigned 32-bit integer.
U64 is an unsigned 64-bit integer.
U8 is an unsigned 8-bit integer.