Macro binspect::ebinspect[][src]

macro_rules! ebinspect {
    ($v: expr) => { ... };
    ($v: expr, $len: expr) => { ... };
}
Expand description

Prints the memory address and the hex representation of an object to stderr.

Examples

let s = "ABC";
ebinspect!(s);
unsafe { ebinspect!(*s, s.len()) };

Safety

A correct byte length must be specified if the value is !Sized.