import { DaffBase64Service } from '@daffodil/core'
A service for encoding and decoding base64 strings.
interface DaffBase64Service {
encode(str: string): string
decode(str: string): string
}
string
Encodes an ASCII string to base64.
Parameter | str: string |
---|---|
Description |
string
Decodes a base64 string to ASCII.
Parameter | str: string |
---|---|
Description |