fn deinit(self: *RingBuffer, allocator: Allocator) void

Free the data backing a RingBuffer; must be passed the same Allocator as init().

Parameters

self: *RingBuffer,
allocator: Allocator,