hexutil

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type U256

type U256 uint256.Int

U256 is a wrapper type for uint256.Int that marshals and unmarshals hex strings. It can decode hex strings with or without the 0x prefix and with or without leading zeros.

func (U256) MarshalText

func (u U256) MarshalText() ([]byte, error)

func (*U256) UnmarshalText

func (u *U256) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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