• Converts bytes to a base64 string. It accepts 'Buffer' or 'Uint8Array'.

    Parameters

    • value: Uint8Array | Buffer

      The bytes to convert.

    Returns string

    The converted base64 string.