pub fn encode_client(packet: &ClientPacket) -> Result<Vec<u8>, ProtocolError>Expand description
Allocating compatibility wrapper using the same validated v5 writer as
encode_client_into. Accepted inputs, bytes and ProtocolError mapping are
unchanged; returned Vec capacity is unspecified.