Skip to content

happypdf / stringAsByteArray

Function: stringAsByteArray()

ts
function stringAsByteArray(str): Uint8Array;

Defined in: src/utils/strings.ts:22

Parameters

ParameterType
strstring

Returns

Uint8Array

MIT Licensed. A fork of pdf-lib.