| 27 | content_hash: Option<[u8; 32]>, |
| 28 | } |
| 29 | struct Borrowed<'a> { |
| 30 | control: &'a [u8], |
| 31 | numbers: Vec<&'a [u8]>, |
| 32 | bytes: &'a [u8], |
| 33 | dictionary: Vec<&'a [u8]>, |
| 34 | references: &'a [u8], |
| 35 | content_hash: Option<[u8; 32]>, |
| 36 | } |
| 37 | |
| 38 | fn slice<'a>(input: &mut &'a [u8]) -> Result<&'a [u8]> { |
| 39 | let (bytes, rest) = postcard::take_from_bytes(input)?; |
no outgoing calls
no test coverage detected