rlp

package
v0.32.9 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: AGPL-3.0 Imports: 3 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec added in v0.23.2

type Codec struct{}

func (*Codec) NewDecoder added in v0.23.2

func (c *Codec) NewDecoder(r io.Reader) encoding.Decoder

func (*Codec) NewEncoder added in v0.23.2

func (c *Codec) NewEncoder(w io.Writer) encoding.Encoder

type Decoder added in v0.23.2

type Decoder struct {
	// contains filtered or unexported fields
}

func (*Decoder) Decode added in v0.23.2

func (e *Decoder) Decode(v interface{}) error

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

func (*Encoder) Encode

func (e *Encoder) Encode(v interface{}) error

type Marshaler added in v0.23.2

type Marshaler struct{}

func NewMarshaler added in v0.23.2

func NewMarshaler() *Marshaler

func (*Marshaler) Marshal added in v0.23.2

func (m *Marshaler) Marshal(val interface{}) ([]byte, error)

func (*Marshaler) MustMarshal added in v0.23.2

func (m *Marshaler) MustMarshal(val interface{}) []byte

func (*Marshaler) MustUnmarshal added in v0.23.2

func (m *Marshaler) MustUnmarshal(b []byte, val interface{})

func (*Marshaler) Unmarshal added in v0.23.2

func (m *Marshaler) Unmarshal(b []byte, val interface{}) error

Jump to

Keyboard shortcuts

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