Skip to content

happypdf / pdfDocEncodingDecode

Function: pdfDocEncodingDecode()

ts
function pdfDocEncodingDecode(bytes): string;

Defined in: src/utils/pdfDocEncoding.ts:63

Decode a byte array into a string using PDFDocEncoding.

Parameters

ParameterTypeDescription
bytesUint8Arraya byte array (decimal representation) containing a string encoded with PDFDocEncoding.

Returns

string

MIT Licensed. A fork of pdf-lib.