module Ole::Readers
Direct including types
Defined in:
readers.crInstance Method Summary
- #get_sector_offset(index : UInt32) : Int32
- #get_sector_type(index : UInt32) : String
-
#get_stream(name : String) : Tuple(Bool, DirectoryEntry, Bytes)
Get stream by name
-
#read_directories(sector : UInt32)
returns the entire contents of a chain starting at the given sector
-
#read_fat
Read the FAT table
-
#read_fat_sector(sector : UInt32)
first convert the raw data into decoded sector indices the raw data contains Little Endian encoded sector indices 4 bytes long
- #read_minifat(bytes : Bytes) : Array(UInt32)
- #read_minifat_chain(sector : UInt32)
- #read_minifat_stream(sector : UInt32)
-
#read_ministream(bytes : Bytes) : Bytes
Read the Ministream
- #read_sector(index : UInt32) : Bytes
- #read_stream(d : DirectoryEntry) : Bytes
Instance Method Detail
def read_directories(sector : UInt32)
#
returns the entire contents of a chain starting at the given sector
def read_fat_sector(sector : UInt32)
#
first convert the raw data into decoded sector indices the raw data contains Little Endian encoded sector indices 4 bytes long