Function ensureUnusedCapacity [src]

Prototype

pub fn ensureUnusedCapacity(w: *Writer, n: usize) Error!void

Parameters

w: *Writern: usize

Possible Errors

WriteFailed

See the Writer implementation for detailed diagnostics.

Source

pub fn ensureUnusedCapacity(w: *Writer, n: usize) Error!void { _ = try writableSliceGreedy(w, n); }