Function flush [src]

Drains all remaining buffered data.

Prototype

pub fn flush(w: *Writer) Error!void

Parameters

w: *Writer

Possible Errors

WriteFailed

See the Writer implementation for detailed diagnostics.

Source

pub fn flush(w: *Writer) Error!void { return w.vtable.flush(w); }