BundleHeader
# VFS: Bundle Header
Defines the packed layout of an Elide VFS bundle's file header. The file header contains just enough data to safely
de-compress and unpack the file-tree metadata, and the associated raw filesystem data. The header is designed to
evolve over time; the format version, at this time, is always `1`.
Content copied to clipboard
elide.vfs.BundleHeader
Types
Link copied to clipboard
# VFS: Bundle Header
Defines the packed layout of an Elide VFS bundle's file header. The file header contains just enough data to safely
de-compress and unpack the file-tree metadata, and the associated raw filesystem data. The header is designed to
evolve over time; the format version, at this time, is always `1`.
Content copied to clipboard
elide.vfs.BundleHeader
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
## Header: Compression mode.
The compression mode is an 16-bit unsigned integer which identifies the compression mode used to compress the file
tree metadata and filesystem data.
Content copied to clipboard
.elide.data.CompressionMode compression_mode = 3;
Link copied to clipboard
## Header: Compression mode.
The compression mode is an 16-bit unsigned integer which identifies the compression mode used to compress the file
tree metadata and filesystem data.
Content copied to clipboard
.elide.data.CompressionMode compression_mode = 3;
Link copied to clipboard
## Header: CRC32.
The CRC32 is a 32-bit unsigned integer which is used to verify the integrity of the decompressed tree metadata.
After (or during) decompression, a CRC32 checksum is calculated over the decompressed data, and compared against
this reference value to ensure data integrity remains intact.
Content copied to clipboard
uint32 crc32 = 4;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
## Header: Format version.
The format version is an 16-bit unsigned integer which identifies the version of the bundle file format. The format
version is always `1` at this time.
Content copied to clipboard
uint32 format_version = 2;
Link copied to clipboard
Link copied to clipboard
## Header: Magic number.
The magic number is a constant value known by the Elide framework, which is used to identify the file as an Elide
VFS bundle. The magic number is a 32-bit unsigned integer, and is always the numeric equivalent of the ASCII string
`ELDE`, or, `0x454C4445`.
Content copied to clipboard
uint32 magic = 1;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <ContainingT : Message?, T> newFileScopedGeneratedExtension(singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun <ContainingT : Message?, T> newMessageScopedGeneratedExtension(scope: Message, descriptorIndex: Int, singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): BundleHeader
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard