pub fn decode_binary<B: Buf>(buf: &mut B) -> Result<Bytes>
Decodes binary data with a 2-byte length prefix
Returns an error if there are insufficient bytes in the buffer