1 2 3 4 5 6
use bytes::BytesMut; use std::str::from_utf8; pub fn parse_property_set_command(command: BytesMut) -> String { from_utf8(command.get(8..).unwrap()).unwrap().to_string() }