Versions in this module Expand all Collapse all v0 v0.0.1 Oct 5, 2022 Changes in this version + const EMPTY + const LOCKBYTES + const PROPERTY + const ROOT + const USERSTORAGE + const USERSTREAM + var ENDOFCHAIN = uint32(0xFFFFFFFE) + var FREESECT = uint32(0xFFFFFFFF) + type File struct + Bsize uint16 + Child uint32 + Flag byte + Guid [8]uint16 + Left uint32 + NameBts [32]uint16 + Proptype uint32 + Right uint32 + Size uint32 + Sstart uint32 + Time [2]uint64 + Type byte + Userflags uint32 + func (d *File) Name() string + type Header struct + ByteOrder uint16 + Cdif uint32 + Cfat uint32 + Clid [4]uint32 + Csfat uint32 + Difstart uint32 + Dirstart uint32 + ID [2]uint32 + Lsectorb uint16 + Lssectorb uint16 + Msat [109]uint32 + Sectorcutoff uint32 + Sfatstart uint32 + Verdll uint16 + Verminor uint16 + type Ole struct + Files []File + Lsector uint32 + Lssector uint32 + SSecID []uint32 + SecID []uint32 + func Open(reader io.ReadSeeker, charset string) (ole *Ole, err error) + func (o *Ole) ListDir() (dir []*File, err error) + func (o *Ole) OpenFile(file *File, root *File) io.ReadSeeker + type PSS struct + type Sector []byte + func (s *Sector) AllValues(size uint32) []uint32 + func (s *Sector) MsatValues(size uint32) []uint32 + func (s *Sector) NextSid(size uint32) uint32 + func (s *Sector) Uint32(bit uint32) uint32 + type Stream struct + Bufsize uint32 + Cfat int + Eof byte + Fatpos uint32 + Ole *Ole + Pos uint32 + Sfat bool + Size int + Start uint32 + type StreamReader struct + func (r *StreamReader) Read(p []byte) (n int, err error) + func (r *StreamReader) Seek(offset int64, whence int) (offset_result int64, err error)