Function buffered [src]

Returns the contents not yet drained.

Prototype

pub fn buffered(w: *const Writer) []u8

Parameters

w: *const Writer

Source

pub fn buffered(w: *const Writer) []u8 { return w.buffer[0..w.end]; }