Versions in this module Expand all Collapse all v0 v0.1.0 Jan 18, 2020 Changes in this version + func Unmarshal(data []byte, v interface{}) error + func Valid(data []byte) bool + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (dec *Decoder) Decode(v interface{}) error + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Error() string + type SyntaxError struct + Offset int64 + func (e *SyntaxError) Error() string + type Token interface + type UnmarshalTypeError struct + Field string + Offset int64 + Struct string + Type reflect.Type + Value string + func (e *UnmarshalTypeError) Error() string + type Unmarshaler interface + UnmarshalBencode func([]byte) error