# Functions
CountValues counts the number of encoded values in b.
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.
Split returns the content of first RLP value and any bytes after the value as subslices of b.
SplitList splits b into the content of a list and any remaining bytes after the list.
SplitString splits b into the content of an RLP string and any remaining bytes after the string.
# 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
# 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.