@tempots/std
encodeBase64() function
Encodes a string to base64.
Signature:
encodeBase64: (s: string) => string
Parameters
Parameter |
Type |
Description |
---|---|---|
s |
string |
The string to encode. |
Returns: string
The base64 encoded string.
Exceptions
Throws MissingImplementationError
if no implementation is found for base64 encoding.