Class

UnpaddedBase64

UnpaddedBase64()

Unpadded Base64 utilities for Matrix.
Constructor

# new UnpaddedBase64()

View Source helpers/UnpaddedBase64.ts, line 6

Classes

UnpaddedBase64

Methods

# static encodeBuffer(buf) → {string}

Encodes a buffer to Unpadded Base64
Parameters:
Name Type Description
buf Buffer The buffer to encode.

View Source helpers/UnpaddedBase64.ts, line 51

The Unpadded Base64 string
string

# static encodeBufferUrlSafe(buf) → {string}

Encodes a buffer to Unpadded Base64 (URL Safe Edition)
Parameters:
Name Type Description
buf Buffer The buffer to encode.

View Source helpers/UnpaddedBase64.ts, line 67

The Unpadded Base64 string
string

# static encodeString(str) → {string}

Encodes a string to Unpadded Base64
Parameters:
Name Type Description
str string The string to encode.

View Source helpers/UnpaddedBase64.ts, line 59

The Unpadded Base64 string
string

# static encodeStringUrlSafe(str) → {string}

Encodes a string to Unpadded Base64 (URL Safe Edition)
Parameters:
Name Type Description
str string The string to encode.

View Source helpers/UnpaddedBase64.ts, line 75

The Unpadded Base64 string
string