Module parser

Module parser 

Source
Expand description

Module for parsing direct reply

§Example

Show information about reply

let buf: Vec<u8> = vec![]; // Direct reply vector
let rep = Reply::parse(&buf);
println!("Length: {}, Id: {}, Error: {}, Memory: {:?}", rep.length(), rep.id(), rep.error(), rep.memory());

Structs§

Reply
Reply object

Functions§

extract_data
Extract n bytes from specific DataType