{"success":true,"data":{"ext":"spl","name":"Windows NT/2000/XP printer spool file","description":"Windows NT/2000/XP printer spool file (SPL) is a print job format used by Microsoft Windows operating systems to store data queued for printing. It is used by the Windows print spooler and related printer drivers to manage pending documents, printer jobs, and output processing. The format is primarily a legacy Windows component; files are generally safe, but untrusted spool files should still be handled carefully because they may originate from incomplete or interrupted print jobs.","mime":[],"risk_level":"Safe","signatures":[{"hex":"00 00 01 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["ico"],"usage":{"python":"def is_spl(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SPL by magic bytes.\"\"\"\n    signature = bytes([0x00, 0x00, 0x01, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isSPL(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x00, 0x00, 0x01, 0x00]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsSPL(data []byte) bool {\n    signature := []byte{0x00, 0x00, 0x01, 0x00}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}