Finnigan::OLE2Header -- a decoder for the Microsoft OLE2 header structure
use Finnigan; my $header = Finnigan::OLE2Header->decode(\*INPUT); say "$header";
This is an auxiliary decoder used by Finnigan::OLE2File; it is of no use on its own.
The OLE2 header is the first the first object to be decoded on the way to parsing the embedded filesystem. It contains the key parameters that determine the shape of the filesystem.
The constructor method
Get the number of blocks in Big Block Depot (number of SECTs in the FAT chain)
Get the log2-size of big blocks
Get the first block in Big Block Depot (first SECT in the Directory chain)
Get the number of SECTs in the DIF chain (should be 0 if the file is smaller than 7Mb)
Get the first SECT in the DIF chain (should be 0xfffffffe if the file is smaller than 7Mb)
Get the maximum size of a ministream (4096)
Get the number of blocks in Small Block Depot (number of SECTs in the mini-FAT chain
Get the log2-size of small blocks
Get the first block in Small Block Depot (first SECT in the mini-FAT chain)
Makes a short text summary consisting of container format version and block use
Gene Selkov, <email@example.com>
Copyright (C) 2010 by Gene Selkov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.