libsf3
Loading...
Searching...
No Matches
Data Fields
sf3_identifier Struct Reference

The basic header structure of every SF3 file. More...

#include <sf3_core.h>

Data Fields

char magic [10]
 These magic bits must be the same as SF3_MAGIC.
 
sf3_format_id format_id
 The ID of the actual file type contained within.
 
sf3_crc32_checksum checksum
 
char null_terminator
 A final null terminator marking the end of the identifier.
 

Detailed Description

The basic header structure of every SF3 file.

Definition at line 70 of file sf3_core.h.

Field Documentation

◆ checksum

sf3_crc32_checksum sf3_identifier::checksum

A CRC32 checksum of the file after this identifier struct. May be used to check the file for corruption.

Definition at line 77 of file sf3_core.h.

◆ format_id

sf3_format_id sf3_identifier::format_id

The ID of the actual file type contained within.

Definition at line 74 of file sf3_core.h.

◆ magic

char sf3_identifier::magic[10]

These magic bits must be the same as SF3_MAGIC.

Definition at line 72 of file sf3_core.h.

◆ null_terminator

char sf3_identifier::null_terminator

A final null terminator marking the end of the identifier.

Definition at line 79 of file sf3_core.h.


The documentation for this struct was generated from the following file: