pub fn write_header<W>(writer: W, version: u8) -> Result<usize, Error>where
    W: WriteBytesExt,
Expand description

Writes the Pot header. A u32 written in big endian. The first three bytes are ‘Pot’ (0x506F74), and the fourth byte is the version. The first version of Pot is 0.