Binary Raw - Docs
    Preparing search index...

    Function detect

    • Detects whether buf contains a ZIP archive by checking the PK\x03\x04 signature at offset 0. Also matches JAR, APK, DOCX, and other ZIP-based formats.

      Parameters

      Returns boolean

      true if the buffer starts with a valid ZIP signature.