Function writerStreaming [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 will skip a failed syscall.

Prototype

pub fn writerStreaming(file: File, buffer: []u8) Writer

Parameters

file: Filebuffer: []u8

Source

pub fn writerStreaming(file: File, buffer: []u8) Writer { return .initStreaming(file, buffer); }