dict

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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 (td *Dict) Get(key Key) (Value, bool)

func (*Dict) Put

func (td *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