Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 12 of 12) sorted by relevance

/webrtc/data/src/message/
H A Dmessage_test.rs9 let mut bytes = Bytes::from_static(&[ in test_message_unmarshal_open_success() localVariable
35 let mut bytes = Bytes::from_static(&[0x02]); in test_message_unmarshal_ack_success() localVariable
47 let mut bytes = Bytes::from_static(&[0x01]); in test_message_unmarshal_invalid_message_type() localVariable
82 let bytes = buf.freeze(); in test_message_marshal() localVariable
H A Dmessage_type.rs68 let mut bytes = Bytes::from_static(&[0x03]); in test_message_type_unmarshal_open_success() localVariable
78 let mut bytes = Bytes::from_static(&[0x02]); in test_message_type_unmarshal_ack_success() localVariable
87 let mut bytes = Bytes::from_static(&[0x01]); in test_message_type_unmarshal_invalid() localVariable
118 let bytes = buf.freeze(); in test_message_type_marshal() localVariable
H A Dmessage_channel_open.rs238 let mut bytes = Bytes::from_static(&[0x00]); in test_channel_type_unmarshal_success() localVariable
247 let mut bytes = Bytes::from_static(&[0x11]); in test_channel_type_unmarshal_invalid() localVariable
265 let mut bytes = Bytes::from_static(&[]); in test_channel_type_unmarshal_unexpected_end_of_buffer() localVariable
302 let bytes = buf.freeze(); in test_channel_type_marshal() localVariable
319 let mut bytes = Bytes::from_static(&MARSHALED_BYTES); in test_channel_open_unmarshal_success() localVariable
333 let mut bytes = Bytes::from_static(&[ in test_channel_open_unmarshal_invalid_channel_type() localVariable
357 let mut bytes = Bytes::from_static(&[0x00; 5]); in test_channel_open_unmarshal_unexpected_end_of_buffer() localVariable
379 let mut bytes = Bytes::from_static(&[ in test_channel_open_unmarshal_unexpected_length_mismatch() localVariable
434 let bytes = buf.freeze(); in test_channel_open_marshal() localVariable
H A Dmessage_channel_ack.rs48 let mut bytes = Bytes::from_static(&[]); in test_channel_ack_unmarshal() localVariable
70 let bytes = buf.freeze(); in test_channel_ack_marshal() localVariable
/webrtc/sctp/fuzz/fuzz_targets/
H A Dpacket.rs8 let bytes = Bytes::from(data.to_vec()); localVariable
H A Dparam.rs8 let bytes = Bytes::from(data.to_vec()); localVariable
/webrtc/rtcp/src/extended_report/
H A Dunknown.rs7 pub bytes: Bytes, field
94 let bytes = raw_packet.copy_to_bytes(block_length as usize); in unmarshal() localVariable
/webrtc/sctp/examples/
H A Dthroughput.rs128 let bytes = bytes::Bytes::from(buf); in main() localVariable
/webrtc/data/src/data_channel/
H A Dmod.rs567 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable
578 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable
586 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable
/webrtc/media/src/io/sample_builder/
H A Dsample_builder_test.rs6 macro_rules! bytes { macro
/webrtc/webrtc/src/peer_connection/
H A Dcertificate.rs131 let mut bytes = [0u8; 8]; in from_pem() localVariable
/webrtc/sctp/src/stream/
H A Dmod.rs744 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable
754 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable
761 let bytes = Bytes::copy_from_slice(buf); in poll_write() localVariable