pub fn split_srv_and_share(buf: &[u16]) -> Result<Vec<u16>, ()>