Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 721 Bytes

File metadata and controls

33 lines (18 loc) · 721 Bytes

@google-github-actions/actions-utils


@google-github-actions/actions-utils / encoding / fromBase64

Function: fromBase64()

fromBase64(input, outEncoding?): string

Defined in: encoding.ts:41

fromBase64 base64 decodes the input, handling URL vs standard encoding and padded vs unpadded. This should only be used to decode string values - the return result is a string and therefore this will not work with binary data.

Parameters

input

string

Base64-encoded string.

outEncoding?

BufferEncoding

Returns

string

Decoded string.