[src]

Function std::str::raw::shift_byte

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

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