Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

StreamBytes

Defined in: packages/sdk/src/types.ts:1975

The first bytes of a stream (Document.streamBytes) and its whole length in that view.

0.6.0

readonly bytes: Uint8Array<ArrayBuffer>;

Defined in: packages/sdk/src/types.ts:1977

At most the bytes asked for, from the start.


readonly total?: number;

Defined in: packages/sdk/src/types.ts:1982

The stream’s whole length in this view, in bytes; absent for a decoded stream longer than the bytes asked for, which is decoded no further.