fn writeSliceAssumeCapacity(self: *RingBuffer, bytes: []const u8) void

Write bytes into the ring buffer. If there is not enough space, older bytes will be overwritten.

Parameters

self: *RingBuffer,
bytes: []const u8,