riegeli 0.1.2

Rust implementation of the Riegeli/records file format
1
2
3
4
5
6
7
8
9
10
//! Format constants for the Riegeli/records file format.

/// Size of a Riegeli block in bytes.
pub(crate) const BLOCK_SIZE: u64 = 65536;

/// Size of a block header in bytes.
pub(crate) const BLOCK_HEADER_SIZE: u64 = 24;

/// Size of a chunk header in bytes.
pub(crate) const CHUNK_HEADER_SIZE: u64 = 40;