{"success":true,"data":{"ext":"hus","name":"Husqvarna Designer I Embroidery Machine file","description":"Husqvarna Designer I Embroidery Machine file is a proprietary embroidery design format developed and maintained by Husqvarna Viking for its Designer I line of sewing and embroidery machines. It is used to store stitch patterns and design data for transferring embroidery projects to compatible machines and software. As a legacy format, it is generally safe, though files from untrusted sources should still be handled cautiously in embroidery applications.","mime":[],"risk_level":"Safe","signatures":[{"hex":"5D FC C8 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["dst","pcs","pec","pes"],"usage":{"python":"def is_hus(file_path: str) -> bool:\n    \"\"\"Check if file is a valid HUS by magic bytes.\"\"\"\n    signature = bytes([0x5D, 0xFC, 0xC8, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isHUS(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x5D, 0xFC, 0xC8, 0x00]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsHUS(data []byte) bool {\n    signature := []byte{0x5D, 0xFC, 0xC8, 0x00}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}