Function hep::parse_packet[][src]

pub fn parse_packet(packet: &[u8]) -> Result<Chunk, ()>
Expand description

Entry Function

input params: hep packet data

return data:

  1. ();

  2. Ok(Chunk);// Chunk defined see pub Struct Chunk