(data: &mut &[u8])
| 1272 | } |
| 1273 | |
| 1274 | fn read_byte(data: &mut &[u8]) -> u8 { |
| 1275 | let byte = data[0]; |
| 1276 | *data = &data[1..]; |
| 1277 | byte |
| 1278 | } |
| 1279 | |
| 1280 | /// Read `length` bytes from `data` at `offset`, updating the |
| 1281 | /// latter. Extend the resulting buffer to an array of `N` bytes by |
no outgoing calls
no test coverage detected