rlp

package
v0.15.21 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: GPL-3.0, LGPL-3.0 Imports: 2 Imported by: 56

Documentation

Overview

Package rlp provides wrapper types for go-ethereum's rlp implementation

Index

Constants

This section is empty.

Variables

View Source
var (
	Encode           = rlp.Encode
	EncodeToBytes    = rlp.EncodeToBytes
	EncodeToReader   = rlp.EncodeToReader
	Decode           = rlp.Decode
	DecodeBytes      = rlp.DecodeBytes
	NewStream        = rlp.NewStream
	NewListStream    = rlp.NewListStream
	NewEncoderBuffer = rlp.NewEncoderBuffer
	ListSize         = rlp.ListSize
	AppendUint64     = rlp.AppendUint64
	List             = rlp.List
	Byte             = rlp.Byte
	BytesSize        = rlp.BytesSize
	SplitList        = rlp.SplitList
	Split            = rlp.Split
)

Re-export functions

View Source
var (
	EmptyString = rlp.EmptyString
	EmptyList   = rlp.EmptyList
)

Re-export constants

View Source
var (
	ErrNegativeBigInt = rlp.ErrNegativeBigInt
	ErrExpectedString = rlp.ErrExpectedString
	ErrExpectedList   = rlp.ErrExpectedList
	ErrCanonInt       = rlp.ErrCanonInt
	ErrCanonSize      = rlp.ErrCanonSize
	ErrElemTooLarge   = rlp.ErrElemTooLarge
	ErrValueTooLarge  = rlp.ErrValueTooLarge
)

Re-export errors

Functions

This section is empty.

Types

type ByteReader

type ByteReader interface {
	io.Reader
	io.ByteReader
}

ByteReader wraps io.Reader

type Decoder

type Decoder = rlp.Decoder

Re-export types

type Encoder

type Encoder = rlp.Encoder

Re-export types

type RawValue

type RawValue = rlp.RawValue

Re-export types

type Stream

type Stream = rlp.Stream

Re-export types

Jump to

Keyboard shortcuts

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