{"success":true,"data":{"ext":"e57","name":"E57","description":"E57 is an open, vendor-neutral 3D imaging data file format developed and maintained by ASTM International through the ASTM E57 committee. It is used to store point clouds, images, sensor metadata, and related measurements from laser scanners and other 3D capture systems for surveying, engineering, construction, and documentation workflows. The format is generally considered safe, though, like other structured data files, it should be opened with standard caution when received from untrusted sources.","mime":["model/e57"],"risk_level":"Safe","signatures":[{"hex":"41 53 54 4D 2D 45 35 37","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_e57(file_path: str) -> bool:\n    \"\"\"Check if file is a valid E57 by magic bytes.\"\"\"\n    signature = bytes([0x41, 0x53, 0x54, 0x4D, 0x2D, 0x45, 0x35, 0x37])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isE57(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x41, 0x53, 0x54, 0x4D, 0x2D, 0x45, 0x35, 0x37]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsE57(data []byte) bool {\n    signature := []byte{0x41, 0x53, 0x54, 0x4D, 0x2D, 0x45, 0x35, 0x37}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"},"category":"CAD & 3D"}}