Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + var ErrInsufficientData = errors.New("insufficient data") + var ErrNotFound = errors.New("no such node") + func DecodeLeafValue(leaf *yang.Leaf, value interface{}) (interface{}, error) + type Decoder struct + func NewDecoder(paths ...string) (*Decoder, error) + func (d *Decoder) DecodeLeafElement(namespace, identifier string, value interface{}) (interface{}, error) + func (d *Decoder) DecodePathElement(origin, path string, value interface{}) (interface{}, error) + func (d *Decoder) FindLeaf(name, identifier string) (*yang.Leaf, error)