struct
Bakelite::Container::Trailer
- Bakelite::Container::Trailer
- Struct
- Value
- Object
Overview
Trailer structure located in the final 32 bytes of the container/executable.
Defined in:
bakelite/container/format.crConstructors
Class Method Summary
-
.read(io : IO) : Trailer | Nil
Reads and validates the 32-byte trailer from an IO stream.
Instance Method Summary
- #index_offset : UInt64
- #index_size : UInt64
- #magic : String
- #version : UInt16
- #volume_start_offset : UInt64
-
#write(io : IO) : Nil
Serializes the 32-byte trailer to an IO stream.
Constructor Detail
def self.new(volume_start_offset : UInt64, index_offset : UInt64, index_size : UInt64, version : UInt16 = FORMAT_VERSION, magic : String = MAGIC_TRAILER)
#