Tries to parse a byte slice as an object of this type.
fn parse_bytes(bytes: &[u8]) -> Result<Self, Errno>
| Name | Description |
|---|---|
| bytes | The bytes to be parsed. |
Returns the object.
This fails if the whole sequence cannot be parsed, that is, if parse_bytes_init returns that not all of the bytes were parsed.