1 use super::prelude::*;
2 
3 #[derive(Debug)]
4 pub struct G<'a> {
5     pub vals: &'a [u8],
6 }
7 
8 impl<'a> ParseCommand<'a> for G<'a> {
from_packet(buf: PacketBuf<'a>) -> Option<Self>9     fn from_packet(buf: PacketBuf<'a>) -> Option<Self> {
10         Some(G {
11             vals: decode_hex_buf(buf.into_body()).ok()?,
12         })
13     }
14 }
15