Class: Omnizip::Formats::Rar::Rar5::EndHeader
- Defined in:
- lib/omnizip/formats/rar/rar5/header.rb
Overview
End of archive header
Constant Summary collapse
- END_FLAG_VOLUME_NEXT =
End of archive flags: 0x0001 volume and not the last volume in the set
0x0001
Instance Attribute Summary
Attributes inherited from Header
#data_area_size, #extra_area, #flags, #header_data, #type
Instance Method Summary collapse
-
#initialize(end_flags: 0) ⇒ EndHeader
constructor
A new instance of EndHeader.
Methods inherited from Header
Constructor Details
#initialize(end_flags: 0) ⇒ EndHeader
Returns a new instance of EndHeader.
193 194 195 196 |
# File 'lib/omnizip/formats/rar/rar5/header.rb', line 193 def initialize(end_flags: 0) super(HEADER_TYPE_END, header_data: VINT.encode(end_flags).pack("C*")) end |