Skip to main content

Function: decodeStrictBase64()

function decodeStrictBase64(args: {
expectedBytes: number;
label: string;
value: string;
}): Buffer;

Defined in: electron/services/cloud/internal/cloudServicePrimitives.ts:145

Decodes a base64 value and validates the expected byte length.

Parameters​

args​

expectedBytes​

number

label​

string

value​

string

Returns​

Buffer