daicon-types 0.1.0

Daicon low-level types, for zero-copy reading and writing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Daicon low-level types, for zero-copy reading and writing.
//!
//! This library version is based off the daicon 0.2.0 specification.

mod header;
mod index;

pub use self::{
    header::Header,
    index::{Id, Index},
};

/// Magic signature of a daicon 0.x.x header, literally equivalent to 0xFF followed by ASCII "dc0".
pub const SIGNATURE: u32 = 0x306364FF;