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
{{ message }}
Repository navigation
Expose encoded lengths for ULEB128 and SLEB128 values #762
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.
ULEB128/SLEB128 codecs expose read/write operations but no way to compute required encoded length without temporary encoding or duplicate caller logic.
Expose exact encoded lengths for u64 ULEB128 and i64 SLEB128, with no allocation or cursor mutation. Keep both encodings together rather than splitting each numeric boundary into a separate task.
Difficulty: easy.
Completion criteria
Cover zero, extrema and every seven-bit length transition.
Include 127/128 and signed -64/-65 boundaries.
Compare reported length with actual writer position changes 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