Class: Omnizip::Formats::Ole::AllocationTable::Small
- Inherits:
-
AllocationTable
- Object
- AllocationTable
- Omnizip::Formats::Ole::AllocationTable::Small
- Defined in:
- lib/omnizip/formats/ole/allocation_table.rb
Overview
Small allocation table (SBAT)
Manages small blocks (typically 64 bytes) for files < 4096 bytes.
Instance Method Summary collapse
-
#initialize(ole) ⇒ Small
constructor
A new instance of Small.
Constructor Details
#initialize(ole) ⇒ Small
Returns a new instance of Small.
254 255 256 257 258 |
# File 'lib/omnizip/formats/ole/allocation_table.rb', line 254 def initialize(ole) super @block_size = 1 << @ole.header.s_shift @io = @ole.sb_file end |