Function writer [src]
Defaults to positional reading; falls back to streaming.
Positional is more threadsafe, since the global seek position is not
affected.
Prototype
pub fn writer(file: File, buffer: []u8) Writer Parameters
file: Filebuffer: []u8 Source
pub fn writer(file: File, buffer: []u8) Writer {
return .init(file, buffer);
}