{"success":true,"data":{"ext":"t64","name":"T64","description":"T64 is a Commodore 64 tape image format originally used in the Commodore 64 software ecosystem and now maintained by emulator and preservation communities. It is used to archive cassette-based programs, distribute vintage software, and support loading in emulators or archival tools. The format is legacy and largely obsolete, but it is generally safe to open; as with any preserved media, files from untrusted sources should still be handled carefully.","mime":[],"risk_level":"Safe","signatures":[{"hex":"43 36 34 20 74 61 70 65 20 69 6D 61 67 65 20 66 69 6C 65","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["crt"],"usage":{"python":"def is_t64(file_path: str) -> bool:\n    \"\"\"Check if file is a valid T64 by magic bytes.\"\"\"\n    signature = bytes([0x43, 0x36, 0x34, 0x20, 0x74, 0x61, 0x70, 0x65, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x66, 0x69, 0x6C, 0x65])\n    with open(file_path, \"rb\") as f:\n        return f.read(19) == signature","node":"function isT64(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x43, 0x36, 0x34, 0x20, 0x74, 0x61, 0x70, 0x65, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x66, 0x69, 0x6C, 0x65]);\n  return buffer.subarray(0, 19).equals(signature);\n}","go":"func IsT64(data []byte) bool {\n    signature := []byte{0x43, 0x36, 0x34, 0x20, 0x74, 0x61, 0x70, 0x65, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x66, 0x69, 0x6C, 0x65}\n    if len(data) < 19 {\n        return false\n    }\n    return bytes.Equal(data[:19], signature)\n}"}}}