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
}
string
Encodes an ASCII string to base64.
Parameter | str: string |
---|---|
Description |
string
Decodes a base64 string to ASCII.
Parameter | str: string |
---|---|
Description |