Header Size Field
Locates the JSON header and validates file boundaries before parsing.
First 8 bytes of the safetensors file. Stores the JSON header size as a 64-bit unsigned integer (uint64) in little-endian byte order. Enables immediate location of the JSON header without parsing tensor data.
[8 bytes]Raw binary: 8 bytes at file offset 0.uint64Size of the JSON header in bytes (N). Maximum enforced at 100 MB.