diff --git a/hashmapp.hexpat b/hashmapp.hexpat new file mode 100644 index 0000000..30cd20a --- /dev/null +++ b/hashmapp.hexpat @@ -0,0 +1,15 @@ +#include "std/mem.pat" + +struct Entry { + u16 key_len [[color("f0f080")]]; + char key[key_len] [[color("ffffc0")]]; + u16 value_len [[color("8080f0")]]; + char value[value_len] [[color("c0c0ff")]]; +}; + +struct DB { + char magic[4] [[color("ff00ff")]]; + Entry entries[while(!std::mem::eof())]; +}; + +DB db @ 0x00; \ No newline at end of file