aboutsummaryrefslogtreecommitdiff
path: root/src/server/cmd/property.rs
blob: 1530f58845cabf0ce3610d06c7bc562d1b5c0841 (plain) (blame)
1
2
3
4
5
6
7
use std::str::from_utf8;

use bytes::BytesMut;

pub fn parse_property_set_command(command: BytesMut) -> String {
  from_utf8(command.get(8..).unwrap()).unwrap().to_string()
}