You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enhancementA request for a new feature or improvement.good first issueIssues that are good for newcomers or first-time contributors.needs testingIssues that require additional testing or verification.
Buffer can append, pop and truncate, but consuming a prefix or removing a middle range requires callers to move overlapping bytes and update len manually.
Add checked offset/count removal using overlap-safe movement. Retain capacity and ownership without allocating. Insertion, sorting and automatic shrinking are outside this task.
Difficulty: easy.
Completion criteria
Cover prefix, middle, suffix, entire-buffer and empty removals.
Reject invalid buffers, negative ranges and overflow/out-of-bounds requests.
Preserve bytes/len/cap on failure and verify remaining bytes after success at O0/O2.
enhancementA request for a new feature or improvement.good first issueIssues that are good for newcomers or first-time contributors.needs testingIssues that require additional testing or verification.
Activity