hexutil

package
v0.15.45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2025 License: GPL-3.0, LGPL-3.0 Imports: 2 Imported by: 38

Documentation

Overview

Package hexutil provides wrapper types for go-ethereum's hexutil implementation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyString   = hexutil.ErrEmptyString
	ErrSyntax        = hexutil.ErrSyntax
	ErrMissingPrefix = hexutil.ErrMissingPrefix
	ErrOddLength     = hexutil.ErrOddLength
	ErrEmptyNumber   = hexutil.ErrEmptyNumber
	ErrLeadingZero   = hexutil.ErrLeadingZero
	ErrUint64Range   = hexutil.ErrUint64Range
	ErrUintRange     = hexutil.ErrUintRange
	ErrBig256Range   = hexutil.ErrBig256Range
)

Re-export errors

View Source
var (
	Decode                       = hexutil.Decode
	MustDecode                   = hexutil.MustDecode
	Encode                       = hexutil.Encode
	EncodeBig                    = hexutil.EncodeBig
	DecodeBig                    = hexutil.DecodeBig
	MustDecodeBig                = hexutil.MustDecodeBig
	DecodeUint64                 = hexutil.DecodeUint64
	MustDecodeUint64             = hexutil.MustDecodeUint64
	EncodeUint64                 = hexutil.EncodeUint64
	UnmarshalFixedJSON           = hexutil.UnmarshalFixedJSON
	UnmarshalFixedText           = hexutil.UnmarshalFixedText
	UnmarshalFixedUnprefixedText = hexutil.UnmarshalFixedUnprefixedText
)

Re-export functions

Functions

This section is empty.

Types

type Big

type Big = hexutil.Big

Re-export types

type Bytes

type Bytes = hexutil.Bytes

Re-export types

type U256

type U256 = uint256.Int

U256 is an alias for uint256.Int for compatibility with generated code

type Uint

type Uint = hexutil.Uint

Re-export types

type Uint64

type Uint64 = hexutil.Uint64

Re-export types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL