Function protobuf::parse_from_bytes
source · pub fn parse_from_bytes<M: Message>(bytes: &[u8]) -> ProtobufResult<M>
👎Deprecated since 2.19: Use Message::parse_from_bytes instead
Expand description
Parse message from byte array.
pub fn parse_from_bytes<M: Message>(bytes: &[u8]) -> ProtobufResult<M>
Parse message from byte array.