(bytes: &[u8])
| 288 | } |
| 289 | |
| 290 | pub fn copy_data(bytes: &[u8]) -> Vec<u8> { |
| 291 | let mut list = BufferList::new(); |
| 292 | list.add_bytes(bytes); |
| 293 | list.join(true, Some(b'd')) |
| 294 | } |
| 295 | |
| 296 | pub fn copy_done() -> Vec<u8> { |
| 297 | BufferList::new().join(true, Some(b'c')) |
no test coverage detected