Database.SQLiteHeader

Undocumented in source.

Members

Enums

FileFormat
enum FileFormat
Undocumented in source.
SchemaFormat
enum SchemaFormat
Undocumented in source.
TextEncoding
enum TextEncoding
Undocumented in source.

Functions

isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromArray
SQLiteHeader fromArray(ubyte[] raw)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Freelist
struct Freelist
Undocumented in source.

Variables

FileFormatReadVer
FileFormat FileFormatReadVer;
Undocumented in source.
FileFormatWriteVer
FileFormat FileFormatWriteVer;
Undocumented in source.
_reserved
BigEndian!uint[5] _reserved;

Reserved space for future format expansion

applicationId
BigEndian!uint applicationId;
Undocumented in source.
defaultCacheSize
BigEndian!uint defaultCacheSize;
Undocumented in source.
fileChangeCounter
BigEndian!uint fileChangeCounter;
Undocumented in source.
firstFreelistPage
BigEndian!uint firstFreelistPage;

Page number of the first freelist trunk page.

freelistPages
BigEndian!uint freelistPages;

Total number of freelist Pages;

incrementalVacuum
BigEndian!uint incrementalVacuum;

Non-Zero if on, Zero otherwise;

largestRootPage
BigEndian!uint largestRootPage;

used in incermental and auto vacuum modes. 0 otherwise.

leafPayloadFract
ubyte leafPayloadFract;
Undocumented in source.
magicString
char[16] magicString;
Undocumented in source.
maxEmbeddedPayloadFract
ubyte maxEmbeddedPayloadFract;
Undocumented in source.
minEmbeddedPayloadFract
ubyte minEmbeddedPayloadFract;
Undocumented in source.
pageSize
BigEndian!ushort pageSize;

between 512 and 32768 or 1

reserved
ubyte reserved;

unused bytes at the end of each page

schemaCookie
BigEndian!uint schemaCookie;
Undocumented in source.
schemaFormatVer
SchemaFormat schemaFormatVer;
Undocumented in source.
sizeInPages
BigEndian!uint sizeInPages;

fileChangeCounter has to match validForVersion or sizeInPages is invalid

sqliteVersion
BigEndian!uint sqliteVersion;
Undocumented in source.
textEncoding
TextEncoding textEncoding;
Undocumented in source.
userVersion
BigEndian!uint userVersion;
Undocumented in source.
validForVersion
BigEndian!uint validForVersion;
Undocumented in source.

Meta