Skip to main content

Module superblock

Module superblock 

Source

Structs§

SuperblockV0V1
Superblock v0/v1 structure (decode only).
SuperblockV2V3
Superblock v2/v3 structure.
SymbolTableEntry
Symbol table entry, as stored in the root group’s superblock (v0/v1).

Constants§

FLAG_FILE_OK
File consistency flag: file is consistent / was properly closed.
FLAG_SWMR_WRITE
File consistency flag: file was opened for single-writer/multi-reader.
FLAG_WRITE_ACCESS
File consistency flag: file was opened for write access.
HDF5_SIGNATURE
The 8-byte HDF5 file signature that begins every superblock.
SUPERBLOCK_V2
Superblock version 2.
SUPERBLOCK_V3
Superblock version 3 (adds SWMR support).

Functions§

decode_symbol_table_entry
Decode a symbol table entry from buf at the given position.
detect_superblock_version
Detect the superblock version from the first 9+ bytes of a file. Returns the version byte (0, 1, 2, or 3).