Function rmp::decode::read_bin_borrow [] [src]

pub fn read_bin_borrow(rd: &[u8]) -> Result<&[u8]ValueReadError>

Attempts to read some bytes from the given slice until a complete Binary message is decoded, returning a borrowed slice with the data.

This includes reading both length and the data itself.

Note

This function will silently retry on every EINTR received from the underlying Read until successful read.

Unstable

This function is unstable, moreover I have a plan to drop it.