Function readerStreaming [src]
Positional is more threadsafe, since the global seek position is not
affected, but when such syscalls are not available, preemptively
initializing in streaming mode skips a failed syscall.
Prototype
pub fn readerStreaming(file: File, buffer: []u8) Reader
Parameters
file: File
buffer: []u8
Source
pub fn readerStreaming(file: File, buffer: []u8) Reader {
return .initStreaming(file, buffer);
}