Documentation

OLERead
in package

Table of Contents

Constants

BIG_BLOCK_DEPOT_BLOCKS_POS  = 0x4c
BIG_BLOCK_SIZE  = 0x200
EXTENSION_BLOCK_POS  = 0x44
NUM_BIG_BLOCK_DEPOT_BLOCKS_POS  = 0x2c
NUM_EXTENSION_BLOCK_POS  = 0x48
PROPERTY_STORAGE_BLOCK_SIZE  = 0x80
ROOT_START_BLOCK_POS  = 0x30
SIZE_OF_NAME_POS  = 0x40
SIZE_POS  = 0x78
SMALL_BLOCK_DEPOT_BLOCK_POS  = 0x3c
SMALL_BLOCK_SIZE  = 0x40
SMALL_BLOCK_THRESHOLD  = 0x1000
START_BLOCK_POS  = 0x74
TYPE_POS  = 0x42

Properties

$documentSummaryInformation  : int|null
$summaryInformation  : int|null
$wrkbook  : int|null
$bigBlockChain  : string
$data  : string
$entry  : string
$extensionBlock  : int
$numBigBlockDepotBlocks  : int
$numExtensionBlocks  : int
$props  : array<string|int, mixed>
$rootentry  : int
$rootStartBlock  : int
$sbdStartBlock  : int
$smallBlockChain  : string

Methods

getStream()  : string|null
Extract binary stream data.
read()  : void
Read the file.
getInt4d()  : int
Read 4 bytes of data at specified position.
readData()  : string
Read a standard stream (by joining sectors using information from SAT).
readPropertySets()  : void
Read entries in the directory stream.

Constants

BIG_BLOCK_DEPOT_BLOCKS_POS

public mixed BIG_BLOCK_DEPOT_BLOCKS_POS = 0x4c

BIG_BLOCK_SIZE

public mixed BIG_BLOCK_SIZE = 0x200

EXTENSION_BLOCK_POS

public mixed EXTENSION_BLOCK_POS = 0x44

NUM_BIG_BLOCK_DEPOT_BLOCKS_POS

public mixed NUM_BIG_BLOCK_DEPOT_BLOCKS_POS = 0x2c

NUM_EXTENSION_BLOCK_POS

public mixed NUM_EXTENSION_BLOCK_POS = 0x48

PROPERTY_STORAGE_BLOCK_SIZE

public mixed PROPERTY_STORAGE_BLOCK_SIZE = 0x80

ROOT_START_BLOCK_POS

public mixed ROOT_START_BLOCK_POS = 0x30

SIZE_OF_NAME_POS

public mixed SIZE_OF_NAME_POS = 0x40

SIZE_POS

public mixed SIZE_POS = 0x78

SMALL_BLOCK_DEPOT_BLOCK_POS

public mixed SMALL_BLOCK_DEPOT_BLOCK_POS = 0x3c

SMALL_BLOCK_SIZE

public mixed SMALL_BLOCK_SIZE = 0x40

SMALL_BLOCK_THRESHOLD

public mixed SMALL_BLOCK_THRESHOLD = 0x1000

START_BLOCK_POS

public mixed START_BLOCK_POS = 0x74

TYPE_POS

public mixed TYPE_POS = 0x42

Properties

$documentSummaryInformation

public int|null $documentSummaryInformation = null

$summaryInformation

public int|null $summaryInformation = null

$wrkbook

public int|null $wrkbook = null

$bigBlockChain

private string $bigBlockChain

$extensionBlock

private int $extensionBlock

$numBigBlockDepotBlocks

private int $numBigBlockDepotBlocks

$numExtensionBlocks

private int $numExtensionBlocks

$props

private array<string|int, mixed> $props = []

$rootStartBlock

private int $rootStartBlock

$sbdStartBlock

private int $sbdStartBlock

$smallBlockChain

private string $smallBlockChain

Methods

getStream()

Extract binary stream data.

public getStream(int|null $stream) : string|null
Parameters
$stream : int|null
Return values
string|null

read()

Read the file.

public read(string $filename) : void
Parameters
$filename : string

getInt4d()

Read 4 bytes of data at specified position.

private static getInt4d(string $data, int $pos) : int
Parameters
$data : string
$pos : int
Return values
int

readData()

Read a standard stream (by joining sectors using information from SAT).

private readData(int $block) : string
Parameters
$block : int

Sector ID where the stream starts

Return values
string

Data for standard stream

readPropertySets()

Read entries in the directory stream.

private readPropertySets() : void

        
On this page

Search results