seq_data_file/
format.rs

1/// Format configuration for SeqData
2pub trait SeqDataFormat {
3    /// Magic bytes. can be empty
4    const MAGIC: &'static [u8];
5    /// The size of the header in bytes
6    const HEADER_SIZE: usize;
7}
8
9pub struct NoMagicNoHeader;
10
11impl SeqDataFormat for NoMagicNoHeader {
12    const MAGIC: &'static [u8] = &[];
13    const HEADER_SIZE: usize = 0;
14}