• Converts a base64 string to bytes (i.e. a buffer). This function does not check if the input value is a valid base64 string. If there are unsupported characters they will be ignored.

    Parameters

    • value: string

      The base64 string to convert.

    Returns Buffer

    The converted buffer.