@digitalpersona/core
Version:
DigitalPersona Web Access Core library
25 lines (16 loc) • 1.3 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/core](./core.md) > [Base64](./core.base64.md)
## Base64 class
Set of converters to Base64.
<b>Signature:</b>
```typescript
export declare class Base64
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [fromBase64Url](./core.base64.frombase64url.md) | <code>static</code> | <code>(s: Base64UrlString) => Base64String</code> | Converts a Base64url-encoded string to a Base64-encoded string. |
| [fromBytes](./core.base64.frombytes.md) | <code>static</code> | <code>(bytes: Uint8Array) => Base64String</code> | Converts a byte array to a Base64-encoded string. |
| [fromJSON](./core.base64.fromjson.md) | <code>static</code> | <code>(obj: string | object) => Base64String</code> | Encodes a plain JSON object or a string to a Base64-encoded string. |
| [fromUtf16](./core.base64.fromutf16.md) | <code>static</code> | <code>(s: Utf16String) => Base64String</code> | Encodes a UTF16 string to a Base64-encoded string. |
| [fromUtf8](./core.base64.fromutf8.md) | <code>static</code> | <code>(s: Utf8String) => Base64String</code> | Encodes a UTF8 string to a Base64-encoded string. |