pub fn rest(self: Self) []const T
Returns a slice of the remaining bytes. Does not affect iterator state.
self: Self
3453 3454 3455 3456 3457
pub fn rest(self: Self) []const T { const end = self.buffer.len; const start = self.index orelse end; return self.buffer[start..end]; }
Returns a slice of the remaining bytes. Does not affect iterator state.