OLE_PPS_TYPE_ROOT
OLE_PPS_TYPE_ROOT = 5
OLE package base class.
$_file_handle : resource
The file handle for reading an OLE container
$_list : array
Array of PPS's found on the OLE container
$bbat : array
Big Block Allocation Table
$sbat : array
Short Block Allocation Table
$bigBlockSize : int
Size of big blocks. This is usually 512.
$smallBlockSize : int
Size of small blocks. This is usually 64.
_ppsTreeComplete(int $index) : bool
It checks whether the PPS tree is complete (all PPS's read) starting with the given PPS (not necessarily root)
int | $index | The index of the PPS from which we are checking |
Whether the PPS tree for the given PPS is complete
getData(int $index, int $position, int $length) : string
Gets data from a PPS If there is no PPS for the index given, it will return an empty string.
int | $index | The index for the PPS |
int | $position | The position from which to start reading (relative to the PPS) |
int | $length | The amount of bytes to read (at most) |
The binary string containing the data requested