pub fn write_tpc<W: Write>( writer: &mut W, tpc: &Tpc, ) -> Result<(), TpcBinaryError>
Writes TPC data to a writer.