Skip to main content

stream_read

Function stream_read 

Source
pub fn stream_read(
    env: Env,
    stream: JObject,
    buffer: usize,
) -> Result<Option<Vec<u8>>, Error>
Expand description

Read once from a java.io.InputStream. Ok(None) at end of stream.