import { DaffServerBase64Service } from '@daffodil/core'
A base64 service meant to be loaded into SSR contexts.
@Injectable()
class DaffServerBase64Service implements DaffBase64Service {
encode(str: string): string
decode(str: string): string
}
stringEncodes an ASCII string to base64.
| Parameter | str: string |
|---|---|
| Description |
stringDecodes a base64 string to ASCII.
| Parameter | str: string |
|---|---|
| Description |