macro_rules! check_buffer {
    ($buffer:expr) => { ... };
    ($buffer:expr, $length:expr) => { ... };
}
Expand description

Safety macro which ensures a buffer is not null and not empty.