Versions in this module Expand all Collapse all v0 v0.1.1 Jan 31, 2022 v0.1.0 Jan 26, 2022 Changes in this version + const Size + type Builder struct + func NewBuilder() *Builder + func (x *Builder) Add(bs []byte) + func (x *Builder) Build() Dict + type Dict []byte + func FromReader(r io.Reader) (Dict, error) + func FromSlice(xs [][]byte) (*keytree.Tree, Dict, error) + func FromWalker(w Walker) (*keytree.Tree, Dict, error) + func New(bs []byte) Dict + func (d *Dict) ReadFrom(r io.Reader) (int64, error) + func (d *Dict) UnmarshalBinary(bs []byte) error + func (d Dict) Code(b byte) word.Code + func (d Dict) MarshalBinary() ([]byte, error) + func (d Dict) WithNameSpace(ns, key []byte) word.Word + func (d Dict) Word(bs []byte) word.Word + func (d Dict) WriteTo(w io.Writer) (int64, error) + type Walker interface + Walk func(func([]byte) error) error