Versions in this module Expand all Collapse all v1 v1.0.3 May 1, 2022 Changes in this version + const VT_BLOB + const VT_BLOB_OBJECT + const VT_BOOL + const VT_BSTR + const VT_CF + const VT_CLSID + const VT_CY + const VT_DATE + const VT_DECIMAL + const VT_EMPTY + const VT_ERROR + const VT_FILETIME + const VT_I1 + const VT_I2 + const VT_I4 + const VT_I8 + const VT_INT + const VT_LPSTR + const VT_LPWSTR + const VT_NULL + const VT_R4 + const VT_R8 + const VT_STORAGE + const VT_STORED_OBJECT + const VT_STREAM + const VT_STREAMED_OBJECT + const VT_U1 + const VT_UI2 + const VT_UI4 + const VT_UI8 + const VT_UINT + const VT_VARIANT + const VT_VERSIONED_STREAM + var CodePageIDs map[CodePageID]string = map[CodePageID]string + var ErrType = errors.New("msoleps: error coercing byte stream to type") + var ErrUnknownType = errors.New("msoleps: unknown type error") + var MakeTypes map[TypeID]MakeType = map[TypeID]MakeType + type Array [][]Type + func (a Array) Length() int + func (a Array) String() string + func (a Array) Type() string + type Bool bool + func (i Bool) Length() int + func (i Bool) String() string + func (i Bool) Type() string + type CodePageID uint16 + type CodeString struct + Chars []byte + func (s *CodeString) Encoding() string + func (s *CodeString) Length() int + func (s *CodeString) SetId(i CodePageID) + func (s *CodeString) String() string + func (s *CodeString) Type() string + type Currency int64 + func (c Currency) Length() int + func (c Currency) String() string + func (c Currency) Type() string + type Date float64 + func (d Date) Length() int + func (d Date) String() string + func (d Date) Time() time.Time + func (d Date) Type() string + type Decimal struct + func (d Decimal) Length() int + func (d Decimal) String() string + func (d Decimal) Type() string + type FileTime struct + High uint32 + Low uint32 + func MustFileTime(b []byte) FileTime + func (f FileTime) Length() int + func (f FileTime) String() string + func (f FileTime) Time() time.Time + func (f FileTime) Type() string + type Guid struct + DataA uint32 + DataB uint16 + DataC uint16 + DataD [8]byte + func GuidFromName(n string) (Guid, error) + func GuidFromString(str string) (Guid, error) + func MustGuid(b []byte) Guid + func MustGuidFromString(str string) Guid + func (g Guid) Length() int + func (g Guid) String() string + func (g Guid) Type() string + type I1 int8 + func (i I1) Length() int + func (i I1) String() string + func (i I1) Type() string + type I2 int16 + func (i I2) Length() int + func (i I2) String() string + func (i I2) Type() string + type I4 int32 + func (i I4) Length() int + func (i I4) String() string + func (i I4) Type() string + type I8 int64 + func (i I8) Length() int + func (i I8) String() string + func (i I8) Type() string + type MakeType func([]byte) (Type, error) + type Null struct + func (i Null) Length() int + func (i Null) String() string + func (i Null) Type() string + type R4 float32 + func (r R4) Length() int + func (r R4) String() string + func (r R4) Type() string + type R8 float64 + func (r R8) Length() int + func (r R8) String() string + func (r R8) Type() string + type Type interface + Length func() int + String func() string + Type func() string + func Evaluate(b []byte) (Type, error) + func MakeArray(f MakeType, b []byte) (Type, error) + func MakeBool(b []byte) (Type, error) + func MakeCodeString(b []byte) (Type, error) + func MakeCurrency(b []byte) (Type, error) + func MakeDate(b []byte) (Type, error) + func MakeDecimal(b []byte) (Type, error) + func MakeFileTime(b []byte) (Type, error) + func MakeGuid(b []byte) (Type, error) + func MakeI1(b []byte) (Type, error) + func MakeI2(b []byte) (Type, error) + func MakeI4(b []byte) (Type, error) + func MakeI8(b []byte) (Type, error) + func MakeR4(b []byte) (Type, error) + func MakeR8(b []byte) (Type, error) + func MakeUI1(b []byte) (Type, error) + func MakeUI2(b []byte) (Type, error) + func MakeUI4(b []byte) (Type, error) + func MakeUI8(b []byte) (Type, error) + func MakeUnicode(b []byte) (Type, error) + func MakeVariant(b []byte) (Type, error) + func MakeVector(f MakeType, b []byte) (Type, error) + type TypeID uint16 + type UI1 uint8 + func (i UI1) Length() int + func (i UI1) String() string + func (i UI1) Type() string + type UI2 uint16 + func (i UI2) Length() int + func (i UI2) String() string + func (i UI2) Type() string + type UI4 uint32 + func (i UI4) Length() int + func (i UI4) String() string + func (i UI4) Type() string + type UI8 uint64 + func (i UI8) Length() int + func (i UI8) String() string + func (i UI8) Type() string + type UnicodeString []uint16 + func (s UnicodeString) Length() int + func (s UnicodeString) String() string + func (s UnicodeString) Type() string + type Variant struct + func (v Variant) Length() int + func (v Variant) String() string + func (v Variant) Type() string + type Vector []Type + func (v Vector) Length() int + func (v Vector) String() string + func (v Vector) Type() string v1.0.1 Feb 18, 2019