Viatorus / emio

A safe and fast high-level and low-level character input/output library for bare-metal and RTOS based embedded systems with a very small binary footprint.
https://viatorus.github.io/emio/
MIT License
133 stars 4 forks source link

feat(buffer): add capacity function to memory and span buffer #86

Closed Viatorus closed 9 months ago

Viatorus commented 9 months ago

Fixes #85

For other buffers types the capacity isn't evident.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (46cfdf5) 99.38% compared to head (64f4363) 99.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #86 +/- ## ======================================= Coverage 99.38% 99.38% ======================================= Files 58 58 Lines 6032 6044 +12 ======================================= + Hits 5995 6007 +12 Misses 37 37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.