GitHub

DaffBrowserBase64Service

import { DaffBrowserBase64Service } from '@daffodil/core'
@Injectable()
class DaffBrowserBase64Service implements DaffBase64Service {
  encode(str: string): string
  decode(str: string): string
}

Properties

Name Type Description
encode string

Encodes an ASCII string to base64.

decode string

Decodes a base64 string to ASCII.