Init indexed file

This commit is contained in:
Eli-Class
2026-01-27 02:30:42 +00:00
commit 1d13e9fc3e
22 changed files with 2812 additions and 0 deletions

5
lib/dat/constants.ts Normal file
View File

@@ -0,0 +1,5 @@
// src/data-file/constants.ts
export const DATA_MAGIC = 'DATA';
export const DATA_VERSION = 1;
export const DATA_HEADER_SIZE = 64;
export const RECORD_HEADER_SIZE = 8;