Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 3 of 3) sorted by relevance

/webrtc/data/src/message/
H A Dmod.rs36 let mut bytes_written = 0; in marshal_to() localVariable
39 bytes_written += n; in marshal_to()
40 bytes_written += match self { in marshal_to()
44 Ok(bytes_written) in marshal_to()
H A Dmessage_channel_ack.rs69 let bytes_written = channel_ack.marshal_to(&mut buf)?; in test_channel_ack_marshal() localVariable
72 assert_eq!(bytes_written, channel_ack.marshal_size()); in test_channel_ack_marshal()
H A Dmessage_channel_open.rs299 let bytes_written = channel_type.marshal_to(&mut buf)?; in test_channel_type_marshal() localVariable
300 assert_eq!(bytes_written, channel_type.marshal_size()); in test_channel_type_marshal()
433 let bytes_written = channel_open.marshal_to(&mut buf).unwrap(); in test_channel_open_marshal() localVariable
436 assert_eq!(bytes_written, channel_open.marshal_size()); in test_channel_open_marshal()