Function pot::format::write_header
source · pub fn write_header<W: WriteBytesExt>(writer: W, version: u8) -> Result<usize>
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.