(input: &mut &'a [u8])
| 25 | constant: Option<u64>, |
| 26 | } |
| 27 | fn bytes<'a>(input: &mut &'a [u8]) -> FormatResult<&'a [u8]> { |
| 28 | let (v, rest) = postcard::take_from_bytes(input)?; |
| 29 | *input = rest; |
| 30 | Ok(v) |
| 31 | } |
| 32 | fn text<'a>(input: &mut &'a [u8]) -> FormatResult<&'a str> { |
| 33 | let (v, rest) = postcard::take_from_bytes(input)?; |
| 34 | *input = rest; |
no outgoing calls
no test coverage detected