dict

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 5 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 added in v0.0.40

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

func (*Dict) Put

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

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