Rename coral::fixed_buffer to coral::ring_buffer

This commit is contained in:
kayomn 2023-02-20 22:28:15 +00:00
parent 0b8167ce1d
commit c4b83082e3
1 changed files with 2 additions and 2 deletions

View File

@ -644,8 +644,8 @@ export namespace coral {
* Multiplexing byte-based ring buffer of `capacity` size that may be used for memory-backed
* I/O operations and lightweight data construction.
*/
template<usize capacity> struct ring_buffer : public writer, public reader {
ring_buffer(coral::u8 fill_value) : data{fill_value} {}
template<usize capacity> struct fixed_buffer : public writer, public reader {
fixed_buffer(coral::u8 fill_value) : data{fill_value} {}
/**
* Returns the base pointer of the buffer data.