12 May 2012 00:17:37 UTC
- Distribution: Finnigan
- Module version: 0.0206
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (0 / 0 / 0)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (472.42KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionSELKOVJR Gene Selkov, Jr.and 1 contributors
- Gene Selkov
Finnigan::OLE2DIF -- a decoder for Double-Indirect FAT, a block allocation structure in Microsoft OLE2
use Finnigan; my $dif = Finnigan::OLE2DIF->decode(\*INPUT, [$start, $count]); say $dif->stringify say $dif->sect->; # must be 0 if used
This is an auxiliary decoder used by Finnigan::OLE2File; it is of no use otherwise. It reads a specified number of 4-byte intergers into an array that is to be interpreted as a sector allocation table by the caller of the sect method.
DIF == Double-Indirect File Allocation Table
- decode($stream, [$start, $count])
The constructor method. The start and count parameters are reserved for possible future use. Although they are not used at the moment (because Finnigan files do not use non-trivial FAT arrangements), these parameters must still be provided by the caller to avoid the unidentified value errors.
Get the array containing the sector allocation table. In this application (embedded method files in the Finnigan data file), it is very likely that only the first of the 109 entries (address 0) will be used.
Get a short text description of the data, e.g.,
Double-Indirect FAT; 1/109 entries used
Gene Selkov, <firstname.lastname@example.org>
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.