Function ensureUnusedCapacity [src]
Prototype
pub fn ensureUnusedCapacity(w: *Writer, n: usize) Error!void
Parameters
w: *Writer
n: usize
Possible Errors
See the Writer
implementation for detailed diagnostics.
Source
pub fn ensureUnusedCapacity(w: *Writer, n: usize) Error!void {
_ = try writableSliceGreedy(w, n);
}