Skip to main content

getByte

Macro getByte 

Source
macro_rules! getByte {
    ($root:ident,$typ:ident,$slf:ident.$($x:ident).+) => { ... };
}
Expand description

Get a byte value from the image into a JSON object as a hex string.

getByte!(root:JsonValue,image_type:String,self.path.to.byte:u8)