[src]

Function std::str::raw::pop_byte

pub unsafe fn pop_byte(s: &mut ~str) -> Option<u8>

Removes the last byte from a string and returns it. Returns None when an empty string is passed. The caller must preserve the valid UTF-8 property.