pub fn writableSliceGreedy(w: *Writer, minimum_len: usize) Error![]u8 w: *Writerminimum_len: usizeWriteFailedSee the Writer implementation for detailed diagnostics.
472
473
474pub fn writableSliceGreedy(w: *Writer, minimum_len: usize) Error![]u8 {
return writableSliceGreedyPreserve(w, 0, minimum_len);
}
Asserts the provided buffer has total capacity enough for
minimum_len.Does not
advancethe buffer end position.If
minimum_lenis zero, this is equivalent tounusedCapacitySlice.