Versions in this module Expand all Collapse all v0 v0.1.9 Nov 10, 2022 Changes in this version + func FromSmbString(d []byte) (string, error) + func FromUnicode(d []byte) (string, error) + func Marshal(v interface{}) ([]byte, error) + func ToSmbString(s string) []byte + func ToUnicode(s string) []byte + func Unmarshal(buf []byte, v interface{}) error + type BinaryMarshallable interface + MarshalBinary func(*Metadata) ([]byte, error) + UnmarshalBinary func([]byte, *Metadata) error + type Metadata struct + 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{})