pub fn lk_write( p: &dyn NetPkt, allow_private: bool, out: &mut dyn Write ) -> Result<()>
Writes any impl NetPkt into the binary netpkt format