mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 16:47:45 +00:00
AK: Add CircularBuffer
The class is very similar to `CircularDuplexStream` in its behavior. Main differences are that `CircularBuffer`: - does not inherit from `AK::Stream` - uses `ErrorOr` for its API - is heap allocated (and OOM-Safe) This patch also add some tests.
This commit is contained in:
parent
3454891d38
commit
f12e81b74a
6 changed files with 488 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
set(AK_SOURCES
|
||||
Assertions.cpp
|
||||
Base64.cpp
|
||||
CircularBuffer.cpp
|
||||
DeprecatedString.cpp
|
||||
FloatingPointStringConversions.cpp
|
||||
FlyString.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue