Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/core / / base64ToBytes

Function: base64ToBytes()

ts
function base64ToBytes(data): Uint8Array;

Defined in: packages/core/src/utils/binary-json.ts:188

Decode standard base64 (padding optional). Throws on characters outside the base64 alphabet.

Parameters

ParameterType
datastring

Returns

Uint8Array

Stable