package
0.1.8-testnet
Repository: https://github.com/onomyprotocol/reserve.git
Documentation: pkg.go.dev
# Functions
Decode uses obi encoding scheme to decode the given input(s).
DecodeBytes decodes the input bytes and returns bytes result and the remaining bytes.
DecodeSigned16 decodes the input bytes into `uint64` and returns the remaining bytes.
DecodeSigned32 decodes the input bytes into `uint64` and returns the remaining bytes.
DecodeSigned64 decodes the input bytes into `uint64` and returns the remaining bytes.
DecodeSigned8 decodes the input bytes into `uint64` and returns the remaining bytes.
DecodeString decodes the input bytes and returns string result and the remaining bytes.
DecodeUnsigned16 decodes the input bytes into `uint16` and returns the remaining bytes.
DecodeUnsigned32 decodes the input bytes into `uint32` and returns the remaining bytes.
DecodeUnsigned64 decodes the input bytes into `uint64` and returns the remaining bytes.
DecodeUnsigned16 decodes the input bytes into `uint8` and returns the remaining bytes.
Encode uses obi encoding scheme to encode the given input(s) into bytes.
EncodeBytes takes a `[]byte` variable and encodes it into a byte array.
EncodeSigned16 takes an `int16` variable and encodes it into a byte array.
EncodeSigned32 takes an `int32` variable and encodes it into a byte array.
EncodeSigned64 takes an `int64` variable and encodes it into a byte array.
EncodeSigned8 takes an `int8` variable and encodes it into a byte array.
EncodeString takes a `string` variable and encodes it into a byte array.
EncodeUnsigned16 takes an `uint16` variable and encodes it into a byte array.
EncodeUnsigned32 takes an `uint32` variable and encodes it into a byte array.
EncodeUnsigned64 takes an `uint64` variable and encodes it into a byte array.
EncodeUnsigned8 takes an `uint8` variable and encodes it into a byte array.
MustDecode uses obi encoding scheme to decode the given input.
MustEncode uses obi encoding scheme to encode the given input into bytes.