package
1.0.0
Repository: https://github.com/youchainhq/go-youchain.git
Documentation: pkg.go.dev

# Functions

CompactBytesToUint64 decodes a big-endian compact byte slice to uint64.
Decode decodes a hex string with 0x prefix.
DecodeBig decodes a hex string with 0x prefix as a quantity.
DecodeUint64 decodes a hex string with 0x prefix as a quantity.
Encode encodes b as a hex string with 0x prefix.
EncodeBig encodes bigint as a hex string with 0x prefix.
EncodeUint64 encodes i as a hex string with 0x prefix.
MustDecode decodes a hex string with 0x prefix.
MustDecodeBig decodes a hex string with 0x prefix as a quantity.
MustDecodeUint64 decodes a hex string with 0x prefix as a quantity.
Uint64ToBytes encodes i as a big-endian compact byte slice.
Uint64ToBytes encodes i as a big-endian compact byte slice.
UnmarshalFixedJSON decodes the input as a string with 0x prefix.
UnmarshalFixedText decodes the input as a string with 0x prefix.
UnmarshalFixedUnprefixedText decodes the input as a string with optional 0x prefix.

# Variables

# Type aliases

Big marshals/unmarshals as a JSON string with 0x prefix.
Bytes marshals/unmarshals as a JSON string with 0x prefix.
Uint marshals/unmarshals as a JSON string with 0x prefix.
Uint64 marshals/unmarshals as a JSON string with 0x prefix.