Skip to content

Add std::span packing support and extend span tests#8

Merged
rwindegger merged 1 commit intorwindegger:mainfrom
Neara-Software:bacek/span-pack
Mar 6, 2026
Merged

Add std::span packing support and extend span tests#8
rwindegger merged 1 commit intorwindegger:mainfrom
Neara-Software:bacek/span-pack

Conversation

@bacek
Copy link
Contributor

@bacek bacek commented Mar 5, 2026

  • Add pack_type overload for std::span<B const, E> that serialises as msgpack bin8/bin16/bin32
  • Add packSpanRoundTrip: pack span → unpack vector, compare bytes
  • Add packSpanMatchesVector: packed bytes from span == from equivalent vector

- Add pack_type overload for std::span<B const, E> that serialises as
  msgpack bin8/bin16/bin32
- Add packSpanRoundTrip: pack span → unpack vector, compare bytes
- Add packSpanMatchesVector: packed bytes from span == from equivalent vector

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 93.85%. Comparing base (6639136) to head (55c7159).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
include/msgpack23/msgpack23.h 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   93.90%   93.85%   -0.06%     
==========================================
  Files           1        1              
  Lines         476      488      +12     
==========================================
+ Hits          447      458      +11     
- Misses         29       30       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rwindegger rwindegger merged commit aac15b8 into rwindegger:main Mar 6, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants