Skip to main content

Module header

Module header 

Source
Expand description

§File and Block Header Definitions

This module defines the header structures used in the VBINSEQ file format.

The VBINSEQ format consists of two primary header types:

  1. VBinseqHeader - The file header that appears at the beginning of a VBINSEQ file, containing information about the overall file format and configuration.

  2. BlockHeader - Headers that appear before each block of records, containing information specific to that block like its size and number of records.

Both headers are fixed-size and include magic numbers to validate file integrity.

Structs§

BlockHeader
Block header for VBINSEQ block data
VBinseqHeader
File header for VBINSEQ files

Constants§

BLOCK_SIZE
Default block size in bytes: 128KB
RESERVED_BYTES
Reserved bytes for future use in the file header (16 bytes)
RESERVED_BYTES_BLOCK
Reserved bytes for future use in block headers (12 bytes)
SIZE_BLOCK_HEADER
Size of the block header in bytes (32 bytes)
SIZE_HEADER
Size of the file header in bytes (32 bytes)