module Ole::Readers

Direct including types

Defined in:

readers.cr

Instance Method Summary

Instance Method Detail

def get_sector_offset(index : UInt32) : Int32 #

[View source]
def get_sector_type(index : UInt32) : String #

[View source]
def get_stream(name : String) : Tuple(Bool, DirectoryEntry, Bytes) #

Get stream by name


[View source]
def read_directories(sector : UInt32) #

returns the entire contents of a chain starting at the given sector


[View source]
def read_fat #

Read the FAT table


[View source]
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


[View source]
def read_minifat(bytes : Bytes) : Array(UInt32) #

[View source]
def read_minifat_chain(sector : UInt32) #

[View source]
def read_minifat_stream(sector : UInt32) #

[View source]
def read_ministream(bytes : Bytes) : Bytes #

Read the Ministream


[View source]
def read_sector(index : UInt32) : Bytes #

[View source]
def read_stream(d : DirectoryEntry) : Bytes #

[View source]