Function binToBinString

  • Encode a Uint8Array into a binary-encoded string.

    E.g.: binToBinString(Uint8Array.from([42, 100]))'0010101001100100'

    For the reverse, see binStringToBin.

    Parameters

    • bytes: Uint8Array

      a Uint8Array to encode

    Returns string

Generated using TypeDoc