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
128 stars 3 forks source link

feat(buffer): provide a truncating buffer #63

Closed Viatorus closed 8 months ago

codecov-commenter commented 8 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (9d6508d) 99.38% compared to head (7c658a0) 99.39%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #63 +/- ## ========================================== + Coverage 99.38% 99.39% +0.01% ========================================== Files 56 56 Lines 5681 5825 +144 ========================================== + Hits 5646 5790 +144 Misses 35 35 ``` | [Files](https://app.codecov.io/gh/Viatorus/emio/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert) | Coverage Δ | | |---|---|---| | [include/emio/buffer.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2J1ZmZlci5ocHA=) | `99.37% <100.00%> (+0.10%)` | :arrow_up: | | [include/emio/iterator.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2l0ZXJhdG9yLmhwcA==) | `100.00% <ø> (ø)` | | | [test/unit\_test/test\_buffer.cpp](https://app.codecov.io/gh/Viatorus/emio/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-dGVzdC91bml0X3Rlc3QvdGVzdF9idWZmZXIuY3Bw) | `100.00% <100.00%> (ø)` | | | [test/unit\_test/test\_format\_to\_api.cpp](https://app.codecov.io/gh/Viatorus/emio/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-dGVzdC91bml0X3Rlc3QvdGVzdF9mb3JtYXRfdG9fYXBpLmNwcA==) | `100.00% <100.00%> (ø)` | |

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