-
+
- Methods
-
-
+
+ Methods
+
+
-
+
-
-
-
-
-
- (static) .fromArrayBuffer(arrBuf, urlModeopt) → {string}
-
-
+
+ (static) fromArrayBuffer(arrBuf, urlModeopt) → {string}
+
-
+
-
+
Convenience function for converting base64 encoded string to an ArrayBuffer instance
-
+
@@ -220,70 +126,99 @@
- Parameters:
-
-
-
-
-
- arrBuf
- (
-
- ArrayBuffer
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ arrBuf
+
+
+
+
+
+ArrayBuffer
+
-
+
+
+
+
+
+
-
-
-
+
- ArrayBuffer to be encoded
+
+
+
-
+
-
-
-
-
- urlMode
- (
-
- boolean
-
+ ArrayBuffer to be encoded
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be returned
+
+
-
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ If set to true, URL mode string will be returned
+
+
+
+
+
-
-
-
@@ -291,46 +226,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -346,30 +277,52 @@ Parameters:
-
+
+Returns:
+
+
+
+
+- Base64 representation of data
+
+
+
+
+
+
+ -
+ Type
+
+ -
+string
+
+
+
+
+
+
-
-
-
-
-
-
- (static) .fromString(str, urlModeopt) → {string}
-
-
-
+
+
+
+
+
+
+ (static) fromString(str, urlModeopt) → {string}
+
+
+
-
+
+
Convenience function for converting a javascript string to base64
-
+
@@ -377,70 +330,99 @@
- Parameters:
-
-
-
-
-
- str
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ str
+
+
+
+
+
+string
+
-
+
+
-
-
-
+
+
+
- String to be converted to base64
+
-
+
+
+
-
-
-
-
- urlMode
- (
-
- boolean
-
+
+
+ String to be converted to base64
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be returned
+
+
-
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ If set to true, URL mode string will be returned
+
+
+
+
+
-
-
-
@@ -448,46 +430,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -503,30 +481,52 @@ Parameters:
-
+
+Returns:
+
+
+
+- Base64 encoded string
+
+
+
+
+
+
+ -
+ Type
+
+ -
+
+string
+
+
+
+
+
+
+
+
+
-
+
+
-
-
-
-
-
- (static) .toArrayBuffer(data, urlModeopt) → {ArrayBuffer}
-
-
+
-
+
+ (static) toArrayBuffer(data, urlModeopt) → {ArrayBuffer}
+
+
+
-
+
Convenience function for converting a base64 encoded string to an ArrayBuffer instance
-
+
@@ -534,70 +534,99 @@
- Parameters:
-
-
-
-
-
- data
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
-
+ Type
-
-
-
+
+ Attributes
+
- Base64 representation of data
+
-
+ Description
+
+
-
-
-
-
- urlMode
- (
-
- boolean
-
+
+
+
+
+
+ data
+
+
+
+
+
+string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Base64 representation of data
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
+
+
+
+
+boolean
+
-
+
+
-
-
-
+
+
+
+ <optional>
+
- If set to true, URL mode string will be expected
+
-
+
+
+
+
+
+
+ If set to true, URL mode string will be expected
+
+
+
+
+
-
-
-
@@ -605,46 +634,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -660,30 +685,52 @@ Parameters:
-
+
+Returns:
+
+
+
+- Decoded data
+
+
-
-
-
-
-
-
- (static) .toString(str, urlModeopt) → {string}
-
-
+
+ -
+ Type
+
+ -
+
+ArrayBuffer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (static) toString(str, urlModeopt) → {string}
+
-
+
-
+
Convenience function for converting base64 to string
-
+
@@ -691,70 +738,99 @@
- Parameters:
-
-
-
-
-
- str
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
-
+
+ Attributes
+
-
-
-
+
- Base64 encoded string to be decoded
+ Description
+
+
-
+
+
+
+
+
+ str
+
+
+
+
+
+string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- urlMode
- (
-
- boolean
-
+ Base64 encoded string to be decoded
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be expected
+
+
-
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ If set to true, URL mode string will be expected
+
+
+
+
+
-
-
-
@@ -762,46 +838,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -817,30 +889,52 @@ Parameters:
-
+
+Returns:
+
+
+
+- Decoded string
+
+
+
-
+
+ -
+ Type
+
+ -
+
+string
+
+
+
+
-
-
-
-
-
- (static) .validate(encoded, urlModeopt) → {boolean}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ (static) validate(encoded, urlModeopt) → {boolean}
+
-
+
-
+
Function to validate base64
-
+
@@ -848,70 +942,99 @@
- Parameters:
-
-
-
-
-
- encoded
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
-
+ Description
+
+
-
-
-
+
+
- Base64 or Base64url encoded data
+
+
+ encoded
+
-
+
+
+
+string
-
-
-
-
- urlMode
- (
-
- boolean
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Base64 or Base64url encoded data
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, base64url will be expected
+
+
+
+
+
+
+ <optional>
+
-
+
+
+
+
+
+
+
+
+ If set to true, base64url will be expected
+
+
+
+
+
-
-
-
@@ -919,46 +1042,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -974,43 +1093,62 @@ Parameters:
-
-
-
+Returns:
+
+
+
+
+- Valid base64/base64url?
+
+
+
+
+
+
+ -
+ Type
+
+ -
+
+boolean
+
+
+
+
-
Convenience function for converting base64 encoded string to an ArrayBuffer instance
-Parameters:
- -arrBuf
- (
-
- ArrayBuffer
-
+ Parameters:
-) - - - - +Name | + + +Type | + + +Attributes | + + + + +Description | +
---|---|---|---|
arrBuf |
+
+
+ + + +ArrayBuffer + - + + | + + +
+
-
-
-
+
- ArrayBuffer to be encoded + + |
+
-
+
-
-
- ArrayBuffer to be encoded |
+
urlMode |
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be returned + + |
-
+
+
+
+ <optional> + + + + + + |
+
+
+
+
+ If set to true, URL mode string will be returned |
+
Parameters:
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source: -
- - - - +
- + - + - + - +
Parameters:
- + +Returns:
+ + +-
+
- Base64 representation of data +
-
+
- + Type + +
- +string + + + +
- (static) .fromString(str, urlModeopt) → {string} -
- - + + + + + + +(static) fromString(str, urlModeopt) → {string}
+ + + -Convenience function for converting a javascript string to base64
-
- Parameters:
-
-
-
-
-
- str
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ str
+
+
+
+
+
+string
+
-
+
+
-
-
-
+
+
+
- String to be converted to base64
+
-
+
+
+
-
-
-
-
- urlMode
- (
-
- boolean
-
+
+
+ String to be converted to base64
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be returned
+
+
-
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ If set to true, URL mode string will be returned
+
+
+
+
+
-
-
-
@@ -448,46 +430,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -503,30 +481,52 @@ Parameters:
-
+
+Returns:
+
+
+
+- Base64 encoded string
+
+
+
+
+
+
+ -
+ Type
+
+ -
+
+string
+
+
+
+
+
+
+
+
+
-
+
+
-
-
-
-
-
- (static) .toArrayBuffer(data, urlModeopt) → {ArrayBuffer}
-
-
+
-
+
+ (static) toArrayBuffer(data, urlModeopt) → {ArrayBuffer}
+
+
+
-
+
Convenience function for converting a base64 encoded string to an ArrayBuffer instance
-
+
@@ -534,70 +534,99 @@
- Parameters:
-
-
-
-
-
- data
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
-
+ Type
-
-
-
+
+ Attributes
+
- Base64 representation of data
+
-
+ Description
+
+
-
-
-
-
- urlMode
- (
-
- boolean
-
+
+
+
+
+
+ data
+
+
+
+
+
+string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Base64 representation of data
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
+
+
+
+
+boolean
+
-
+
+
-
-
-
+
+
+
+ <optional>
+
- If set to true, URL mode string will be expected
+
-
+
+
+
+
+
+
+ If set to true, URL mode string will be expected
+
+
+
+
+
-
-
-
@@ -605,46 +634,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -660,30 +685,52 @@ Parameters:
-
+
+Returns:
+
+
+
+- Decoded data
+
+
-
-
-
-
-
-
- (static) .toString(str, urlModeopt) → {string}
-
-
+
+ -
+ Type
+
+ -
+
+ArrayBuffer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (static) toString(str, urlModeopt) → {string}
+
-
+
-
+
Convenience function for converting base64 to string
-
+
@@ -691,70 +738,99 @@
- Parameters:
-
-
-
-
-
- str
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
-
+
+ Attributes
+
-
-
-
+
- Base64 encoded string to be decoded
+ Description
+
+
-
+
+
+
+
+
+ str
+
+
+
+
+
+string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- urlMode
- (
-
- boolean
-
+ Base64 encoded string to be decoded
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be expected
+
+
-
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ If set to true, URL mode string will be expected
+
+
+
+
+
-
-
-
@@ -762,46 +838,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -817,30 +889,52 @@ Parameters:
-
+
+Returns:
+
+
+
+- Decoded string
+
+
+
-
+
+ -
+ Type
+
+ -
+
+string
+
+
+
+
-
-
-
-
-
- (static) .validate(encoded, urlModeopt) → {boolean}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ (static) validate(encoded, urlModeopt) → {boolean}
+
-
+
-
+
Function to validate base64
-
+
@@ -848,70 +942,99 @@
- Parameters:
-
-
-
-
-
- encoded
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
-
+ Description
+
+
-
-
-
+
+
- Base64 or Base64url encoded data
+
+
+ encoded
+
-
+
+
+
+string
-
-
-
-
- urlMode
- (
-
- boolean
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Base64 or Base64url encoded data
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, base64url will be expected
+
+
+
+
+
+
+ <optional>
+
-
+
+
+
+
+
+
+
+
+ If set to true, base64url will be expected
+
+
+
+
+
-
-
-
@@ -919,46 +1042,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -974,43 +1093,62 @@ Parameters:
-
-
-
+Returns:
+
+
+
+
+- Valid base64/base64url?
+
+
+
+
+
+
+ -
+ Type
+
+ -
+
+boolean
+
+
+
+
-
str
- (
-
- string
-
+ Parameters:
-) - - - - +Name | + + +Type | + + +Attributes | + + + + +Description | +
---|---|---|---|
str |
+
+
+ + + +string + - + + | - - - + +
+
- String to be converted to base64 + - + + |
+
-
-
- String to be converted to base64 |
+
urlMode |
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be returned + + |
-
+
+
+
+ <optional> + + + + + + |
+
+
+
+
+ If set to true, URL mode string will be returned |
+
-
+
- Base64 encoded string +
Convenience function for converting a base64 encoded string to an ArrayBuffer instance
-Parameters:
- -data
- (
-
- string
-
+ Parameters:
-) - - - - +Name | + - +Type | - - - + +Attributes | + -Description | +
---|---|---|---|
data |
+
+
+ + + +string + + + + | + + ++ + + + + + | + + + + +Base64 representation of data |
+
urlMode |
+
+
+ + + +boolean + - + + | - - - + +
+
+ <optional> + - If set to true, URL mode string will be expected + - + + |
+
+
+
+
+ If set to true, URL mode string will be expected |
+
Parameters:
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source: -
- - - - +
- + - + - + - +
Parameters:
- + +Returns:
+ +-
+
- Decoded data +
- (static) .toString(str, urlModeopt) → {string} -
- +-
+
- + Type + +
- + +ArrayBuffer + + + +
(static) toString(str, urlModeopt) → {string}
+ - + -Convenience function for converting base64 to string
-
- Parameters:
-
-
-
-
-
- str
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
-
+
+ Attributes
+
-
-
-
+
- Base64 encoded string to be decoded
+ Description
+
+
-
+
+
+
+
+
+ str
+
+
+
+
+
+string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- urlMode
- (
-
- boolean
-
+ Base64 encoded string to be decoded
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be expected
+
+
-
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ If set to true, URL mode string will be expected
+
+
+
+
+
-
-
-
@@ -762,46 +838,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -817,30 +889,52 @@ Parameters:
-
+
+Returns:
+
+
+
+- Decoded string
+
+
+
-
+
+ -
+ Type
+
+ -
+
+string
+
+
+
+
-
-
-
-
-
- (static) .validate(encoded, urlModeopt) → {boolean}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ (static) validate(encoded, urlModeopt) → {boolean}
+
-
+
-
+
Function to validate base64
-
+
@@ -848,70 +942,99 @@
- Parameters:
-
-
-
-
-
- encoded
- (
-
- string
-
+ Parameters:
-)
-
-
-
-
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
-
+ Description
+
+
-
-
-
+
+
- Base64 or Base64url encoded data
+
+
+ encoded
+
-
+
+
+
+string
-
-
-
-
- urlMode
- (
-
- boolean
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Base64 or Base64url encoded data
+
-)
-
-
-
-
- <optional>
-
+
+
+ urlMode
+
-
+
+
+
+boolean
-
-
-
- If set to true, base64url will be expected
+
+
+
+
+
+
+ <optional>
+
-
+
+
+
+
+
+
+
+
+ If set to true, base64url will be expected
+
+
+
+
+
-
-
-
@@ -919,46 +1042,42 @@ Parameters:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source:
- -
-
-
-
+
+
-
+
-
+
-
+
@@ -974,43 +1093,62 @@ Parameters:
-
-
-
+Returns:
+
+
+
+
+- Valid base64/base64url?
+
+
+
+
+
+
+ -
+ Type
+
+ -
+
+boolean
+
+
+
+
-
str
- (
-
- string
-
+ Parameters:
-) - - - - +Name | + + +Type | - + +Attributes | + - - - + -Description | +
---|---|---|---|
str |
+
+
+ + + +string + + + + | + + ++ + + + + + | + + + - - -Base64 encoded string to be decoded |
+
urlMode |
+
-
+
+
+
+boolean
-
-
-
- If set to true, URL mode string will be expected + + |
-
+
+
+
+ <optional> + + + + + + |
+
+
+
+
+ If set to true, URL mode string will be expected |
+
-
+
- Decoded string +
Function to validate base64
-Parameters:
- -encoded
- (
-
- string
-
+ Parameters:
-) - - - - +Name | + + +Type | + + +Attributes | + + + - +Description | +
---|---|---|---|
encoded |
+
-
+
+
+
+string
-
-
-
-
- urlMode
- (
-
- boolean
-
+
+
+ |
+
+
+ + + + + + + | + + + + +Base64 or Base64url encoded data |
+
urlMode |
+
-
+
+
+
+boolean
-
-
-
- If set to true, base64url will be expected + + |
+
+
+
+
+ <optional> + - + + + + |
+
+
+
+
+ If set to true, base64url will be expected |
+
Parameters:
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Source: -
- - - - +
- + - + - + - +
Parameters:
- - - +Returns:
+ + +-
+
- Valid base64/base64url? +
-
+
- + Type + +
- + +boolean + + + +