PDFStreamObject
Defined in: object/stream.ts:5
Constructor object/stream.ts:13
new PDFStreamObject(
stream,extraDict?):PDFStreamObject
Parameters
| Parameter | Type |
|---|---|
stream | string | Buffer<ArrayBufferLike> |
extraDict? | any |
Returns
PDFStreamObject
Properties
| Property | Modifier | Type | Default value |
|---|---|---|---|
_typestream.ts:6 | public | string | "stream" |
compress?stream.ts:9 | public | boolean | undefined |
extraDictstream.ts:8 | public | any | undefined |
valuestream.ts:7 | public | string | Buffer<ArrayBufferLike> | undefined |
compressByDefaultstream.ts:11 | static | boolean | true |
Methods
toBuffer() object/stream.ts:22
toBuffer(
encryptStreamFn?,compressOverride?):Buffer
Parameters
| Parameter | Type |
|---|---|
encryptStreamFn? | (data) => Buffer |
compressOverride? | boolean |
Returns
Buffer
toString() object/stream.ts:18
toString():
string
Returns
string