Skip to main content

pop

Function pop 

Source
pub fn pop(data: &mut &[u8]) -> Option<u8>
Expand description

Pops a single byte from the front of data, returning it and consuming it from data. Returns None if data is empty.