mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
AK: Expose the seekback limit of CircularBuffer
This commit is contained in:
parent
e62183f0ba
commit
52d9fc92f1
2 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,7 @@ public:
|
|||
[[nodiscard]] size_t empty_space() const;
|
||||
[[nodiscard]] size_t used_space() const;
|
||||
[[nodiscard]] size_t capacity() const;
|
||||
[[nodiscard]] size_t seekback_limit() const;
|
||||
|
||||
Optional<size_t> offset_of(StringView needle, Optional<size_t> from = {}, Optional<size_t> until = {}) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue