Binary Raw - Docs
    Preparing search index...

    Function detectFormat

    • Detects the format of arrayBuffer without fully parsing it. Useful for displaying the file type in the UI before committing to a full parse.

      Parameters

      • arrayBuffer: ArrayBuffer

        The ArrayBuffer of the loaded file.

      Returns FileFormat

      The detected FileFormat, or 'BIN' if no parser matches.