fn write(self: *RingBuffer, byte: u8) Error!void

Write byte into the ring buffer. Returns error.Full if the ring buffer is full.

Parameters

self: *RingBuffer,
byte: u8,