package
0.9.39
Repository: https://github.com/mmjee/go-ethereum.git
Documentation: pkg.go.dev

# Functions

Decode parses RLP-encoded data from r and stores the result in the value pointed to by val.
DecodeBytes parses RLP data from b into val.
Encode writes the RLP encoding of val to w.
EncodeBytes returns the RLP encoding of val.
EncodeReader returns a reader from which the RLP encoding of val can be read.
ListSize returns the encoded size of an RLP list with the given content size.
NewListStream creates a new stream that pretends to be positioned at an encoded list of the given length.
NewStream creates a new decoding stream reading from r.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Common encoded values.
EOL is returned when the end of the current list has been reached during streaming.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Actual Errors.
This error is reported by DecodeBytes if the slice contains additional data after the first RLP value.
No description provided by the author

# Structs

Stream can be used for piecemeal decoding of an input stream.

# Interfaces

ByteReader must be implemented by any input reader for a Stream.
Decoder is implemented by types that require custom RLP decoding rules or need to decode into private fields.
Encoder is implemented by types that require custom encoding rules or want to encode private fields.

# Type aliases

Kind represents the kind of value contained in an RLP stream.