dict

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dict

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

func Deserialize

func Deserialize(r io.Reader) (*Dict, error)

func FromBytes

func FromBytes(p []byte) (*Dict, error)

func New

func New() *Dict

func (*Dict) Bytes

func (t *Dict) Bytes() ([]byte, error)

func (*Dict) Get

func (t *Dict) Get(key Key) (Value, bool)

func (*Dict) GetValue

func (t *Dict) GetValue(key Key, value io.Writer) bool

func (*Dict) Put

func (t *Dict) Put(val Value) Key

func (*Dict) PutValue

func (t *Dict) PutValue(val Value, dst io.Writer)

func (*Dict) Serialize

func (t *Dict) Serialize(w io.Writer) error

type Key

type Key []byte

type Value

type Value []byte

Jump to

Keyboard shortcuts

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