Searched defs:bytes (Results 1 – 12 of 12) sorted by relevance
9 let mut bytes = Bytes::from_static(&[ in test_message_unmarshal_open_success() localVariable35 let mut bytes = Bytes::from_static(&[0x02]); in test_message_unmarshal_ack_success() localVariable47 let mut bytes = Bytes::from_static(&[0x01]); in test_message_unmarshal_invalid_message_type() localVariable82 let bytes = buf.freeze(); in test_message_marshal() localVariable
68 let mut bytes = Bytes::from_static(&[0x03]); in test_message_type_unmarshal_open_success() localVariable78 let mut bytes = Bytes::from_static(&[0x02]); in test_message_type_unmarshal_ack_success() localVariable87 let mut bytes = Bytes::from_static(&[0x01]); in test_message_type_unmarshal_invalid() localVariable118 let bytes = buf.freeze(); in test_message_type_marshal() localVariable
238 let mut bytes = Bytes::from_static(&[0x00]); in test_channel_type_unmarshal_success() localVariable247 let mut bytes = Bytes::from_static(&[0x11]); in test_channel_type_unmarshal_invalid() localVariable265 let mut bytes = Bytes::from_static(&[]); in test_channel_type_unmarshal_unexpected_end_of_buffer() localVariable302 let bytes = buf.freeze(); in test_channel_type_marshal() localVariable319 let mut bytes = Bytes::from_static(&MARSHALED_BYTES); in test_channel_open_unmarshal_success() localVariable333 let mut bytes = Bytes::from_static(&[ in test_channel_open_unmarshal_invalid_channel_type() localVariable357 let mut bytes = Bytes::from_static(&[0x00; 5]); in test_channel_open_unmarshal_unexpected_end_of_buffer() localVariable379 let mut bytes = Bytes::from_static(&[ in test_channel_open_unmarshal_unexpected_length_mismatch() localVariable434 let bytes = buf.freeze(); in test_channel_open_marshal() localVariable
48 let mut bytes = Bytes::from_static(&[]); in test_channel_ack_unmarshal() localVariable70 let bytes = buf.freeze(); in test_channel_ack_marshal() localVariable
8 let bytes = Bytes::from(data.to_vec()); localVariable
7 pub bytes: Bytes, field94 let bytes = raw_packet.copy_to_bytes(block_length as usize); in unmarshal() localVariable
128 let bytes = bytes::Bytes::from(buf); in main() localVariable
567 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable578 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable586 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable
6 macro_rules! bytes { macro
131 let mut bytes = [0u8; 8]; in from_pem() localVariable
744 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable754 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable761 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable