pub unsafe extern "C" fn stream_read(
    stream: *mut Stream,
    data: *mut u8,
    count: usize
) -> usize
Expand description

Read N bytes from stream

Returns:

  • size_t how many bytes was read

Arguments

  • stream - Stream instance
  • data - data to be read
  • count - size of data to be read