Documentation ¶ Index ¶ type Dict func Deserialize(r io.Reader) (*Dict, error) func FromBytes(p []byte) (*Dict, error) func New() *Dict func (t *Dict) Bytes() ([]byte, error) func (t *Dict) Get(key Key) (Value, bool) func (t *Dict) GetValue(key Key, value io.Writer) bool func (t *Dict) Put(val Value) Key func (t *Dict) PutValue(val Value, dst io.Writer) func (t *Dict) Serialize(w io.Writer) error type Key type Value 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 Source Files ¶ View all Source files dict.go serialize.go trie.go Click to show internal directories. Click to hide internal directories.