struct BigReader::Header
- BigReader::Header
- Struct
- Value
- Object
Overview
Header
containa the global header from a given big file.
The header will be loaded in the following format:
#signature
4 bytes
#file_size
4 bytes (little endian)
#item_count
4 bytes (big endian)
#index_size
4 bytes (big endian)
Defined in:
big_reader/header.crConstructors
-
.new(file : ::File)
Load the global header from given file The cursor should be at the start of the file
Instance Method Summary
Constructor Detail
def self.new(file : ::File)
#
Load the global header from given file The cursor should be at the start of the file
NOTE No validations are done. Please ensure that the file is valid yourself