Macro byte_slice::bs_collect
[−]
[src]
macro_rules! bs_collect { ($context:expr, $on_byte:expr, $on_eos:expr) => { ... }; }
Iterate $context.stream, and for each byte execute $on_byte. Upon locating end-of-stream
execute $on_eos.