Categorygithub.com/HyperService-Consortium/go-hexutil
modulepackage
1.0.1
Repository: https://github.com/hyperservice-consortium/go-hexutil.git
Documentation: pkg.go.dev

# README

go-HexUtil

common.hexutil from go-Ethereum

# Functions

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.
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.