VTable
Fields of this type
Fields
- drain:*const fn (w: *Writer, data: []const []const u8, splat: usize) Error!usize
- Sends bytes to the logical sink.
- sendFile:*const fn ( w: *Writer, file_reader: *File.Reader, /// Maximum amount of bytes to read from the file. Implementations may /// assume that the file size does not exceed this amount. Data from /// `buffer` does not count towards this limit. limit: Limit, ) FileError!usize
- Copies contents from an open file to the logical sink.
- flush:*const fn (w: *Writer) Error!void
- Consumes all remaining buffer.
- rebase:*const fn (w: *Writer, preserve: usize, capacity: usize) Error!void
- Ensures `capacity` more bytes can be buffered without rebasing.