# Functions
AppendUint64 appends the RLP encoding of i to b, and returns the resulting slice.
BytesSize returns the encoded size of a byte slice.
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.
EncodeToBytes returns the RLP encoding of val.
EncodeToReader returns a reader from which the RLP encoding of val can be read.
IntSize returns the encoded size of the integer x.
ListSize returns the encoded size of an RLP list with the given content size.
NewEncoderBuffer creates an encoder buffer.
NewListIterator creates an iterator for the (list) represented by data.
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.
SplitUint64 decodes an integer at the beginning of b.
StringSize returns the encoded size of a string.
# Variables
EmptyList is the encoding of an empty list.
EmptyString is the encoding of an empty string.
EOL is returned when the end of the current list has been reached during streaming.
# Structs
EncoderBuffer is a buffer for incremental encoding.
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.