Function coerceToBytes

  • Returns a Uint8Array given an input string or Uint8Array.

    Parameters

    • input: string | Uint8Array

    Returns Uint8Array

    A base64 string

Generated using TypeDoc