fn writeSlice(self: *RingBuffer, bytes: []const u8) Error!void

Write bytes into the ring buffer. Returns error.Full if the ring buffer does not have enough space, without writing any data.

Parameters

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