struct BigReader::IndexedFile
- BigReader::IndexedFile
- Struct
- Value
- Object
Overview
IndexedFile
is the header of a single file within an big archive.
The header will be loaded in the followin sequence:
#offset
4 bytes (big endian)
#size
4 bytes (big endian)
#name
utill a NUL byte is found
Defined in:
big_reader/indexed_file.crConstructors
-
.new(file : ::File)
Read the current file header from the given file This expects that the file has already been seeked to the start of the header
Instance Method Summary
- #name : String
- #offset : UInt32
-
#path
Convert windows path to the path used on the current system
- #size : UInt32
Constructor Detail
def self.new(file : ::File)
#
Read the current file header from the given file This expects that the file has already been seeked to the start of the header