Skip to content

Conversation

@MabezDev
Copy link
Member

  • Adds the MutSlice trait which the Serializer is now generic over.
  • Implement the trait for heapless::Vec for backwards compatibilty
  • Implement on a Slice struct which allows for serialization into a
    mutable slice.

This is really useful for usage with smoltcp, as it allows you to serialize straight into the tcp socket buffer.

* Adds the `MutSlice` trait which the Serializer is now generic over.
* Implement the trait for heapless `Vec` for backwards compatibilty
* Implement on a `Slice` struct which allows for serialization into a
mutable slice.
@eldruin
Copy link
Member

eldruin commented Dec 10, 2020

How does this differ from #36 ?

@MathiasKoch
Copy link
Collaborator

Closed in favor of #36

Please feel free to re-open, if we missed some functionality difference between the two.

@eldruin
Copy link
Member

eldruin commented Dec 11, 2020

Still thank you very much @MabezDev!

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.

3 participants