Versions in this module Expand all Collapse all v0 v0.5.0 Jun 15, 2024 Changes in this version + func FromUnicode(d []byte) ([]byte, error) + func FromUnicodeString(d []byte) (string, error) + func Marshal(v interface{}) ([]byte, error) + func ToUnicode(s string) []byte + func Unmarshal(buf []byte, v interface{}) error + func Utf16ToUtf8(in []uint16) []byte + func Utf8ToUtf16(in []byte) ([]uint16, error) + type BinaryMarshallable interface + MarshalBinary func(*Metadata) ([]byte, error) + UnmarshalBinary func([]byte, *Metadata) error + type Metadata struct + Counts map[string]uint64 + CurrField string + CurrOffset uint64 + Lens map[string]uint64 + Offsets map[string]uint64 + Parent interface{} + ParentBuf []byte + Tags *TagMap + type TagMap struct + func (t TagMap) Get(key string) interface{} + func (t TagMap) GetInt(key string) (int, error) + func (t TagMap) GetString(key string) (string, error) + func (t TagMap) Has(key string) bool + func (t TagMap) Set(key string, val interface{})