use crate::Graph6Error;
#[derive(Copy, Clone, Debug)]
pub struct DiGraph {
pub n: usize,
}
fn check_line_header(bytes: &[u8]) -> Result<(), Graph6Error> {
match bytes {
[byte] if b'&'.eq(byte) => Ok(()),
_ => {
Err(Graph6Error::InvalidHeader { except: "&" })
}
}
}