Documentation

Stream
in package

Pdf extract xref stream class

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
6.0.0

Table of Contents

Methods

parse()  : array<string|int, mixed>
Parse a cross-reference stream at a byte position
readBigEndian()  : int
Read a big-endian integer of a given byte size from a string

Methods

parse()

Parse a cross-reference stream at a byte position

public static parse(string $data, int $pos[, Budget|null $budget = null ]) : array<string|int, mixed>
Parameters
$data : string
$pos : int
$budget : Budget|null = null
Tags
throws
Exception
Return values
array<string|int, mixed>

readBigEndian()

Read a big-endian integer of a given byte size from a string

protected static readBigEndian(string $data, int $offset, int $size) : int
Parameters
$data : string
$offset : int
$size : int
Return values
int

        
On this page

Search results