Versions in this module Expand all Collapse all v0 v0.1.0 Jul 29, 2024 Changes in this version + const TypeBoth + const TypeDecode + const TypeEncode + const TypeNone + var ErrMissingDesc = fmt.Errorf("missing desc field") + func GetFiles(dir string) (filenames []string, err error) + func SprintBinary(bytes []byte, prefix string) (out string) + type C struct + BOM binary.ByteOrder + Bytes []byte + DecodeError string + Desc string + EncodeError string + Expected interface{} + Skip Type + func Parse(r io.Reader, filename string) ([]C, error) + func ParseFile(filename string) ([]C, error) + func (c C) DoesErrorMatch(t Type, e error) bool + func (c C) ErrorFor(t Type) string + func (c C) HasErrorFor(t Type) bool + type Type uint8 + func (ot Type) Is(t Type) bool