Marmot-TS
    Preparing search index...

    Function decodeContent

    • Decodes a string to binary data using the specified or auto-detected format.

      Parameters

      • content: string

        The encoded string

      • Optionalformat: EncodingFormat

        Optional encoding format. If not specified, will auto-detect.

      Returns Uint8Array

      The decoded binary data

      Error if the content cannot be decoded