Documentation ¶
Index ¶
- func EmptyReader(r io.Reader) bool
- func ReadAddress(r io.Reader) (common.Address, error)
- func ReadAndValidateSignature(r io.Reader, expectedSignature []byte) ([]byte, error)
- func ReadEthBytes32(r io.Reader) (eth.Bytes32, error)
- func ReadHash(r io.Reader) (common.Hash, error)
- func ReadSignature(r io.Reader) ([]byte, error)
- func ReadUint256(r io.Reader) (*big.Int, error)
- func ReadUint64(r io.Reader) (uint64, error)
- func WriteAddress(w io.Writer, a common.Address) error
- func WriteEthBytes32(w io.Writer, b eth.Bytes32) error
- func WriteHash(w io.Writer, h common.Hash) error
- func WriteSignature(w io.Writer, sig []byte) error
- func WriteUint256(w io.Writer, n *big.Int) error
- func WriteUint64(w io.Writer, n uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyReader ¶
func ReadUint64 ¶
ReadUint64 reads a big endian uint64 from a 32 byte word
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.