Rename coral::fixed_buffer to coral::ring_buffer
This commit is contained in:
parent
0b8167ce1d
commit
c4b83082e3
|
@ -644,8 +644,8 @@ export namespace coral {
|
||||||
* Multiplexing byte-based ring buffer of `capacity` size that may be used for memory-backed
|
* Multiplexing byte-based ring buffer of `capacity` size that may be used for memory-backed
|
||||||
* I/O operations and lightweight data construction.
|
* I/O operations and lightweight data construction.
|
||||||
*/
|
*/
|
||||||
template<usize capacity> struct ring_buffer : public writer, public reader {
|
template<usize capacity> struct fixed_buffer : public writer, public reader {
|
||||||
ring_buffer(coral::u8 fill_value) : data{fill_value} {}
|
fixed_buffer(coral::u8 fill_value) : data{fill_value} {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the base pointer of the buffer data.
|
* Returns the base pointer of the buffer data.
|
||||||
|
|
Loading…
Reference in New Issue