GitHub

DaffBrowserBase64Service

import { DaffBrowserBase64Service } from '@daffodil/core'

@Injectable()
class DaffBrowserBase64Service implements DaffBase64Service {
  encode(str: string): string
  decode(str: string): string
}

() Methods

encode
string

Encodes an ASCII string to base64.

Parameters
Parameterstr: string
Description
decode
string

Decodes a base64 string to ASCII.

Parameters
Parameterstr: string
Description