Skip to main content

stream_data_end

Function stream_data_end 

Source
pub fn stream_data_end(data: &[u8], from: usize, idx: usize) -> usize
Expand description

The end of stream data that starts at from when its endstream keyword is at idx: the EOL before the keyword (CRLF, LF or CR) is not data. Reads only data[idx - 2..idx].

Added in 0.2.0.