altoo-ag / akka-kryo-serialization

Kryo-based serialization for Akka
Apache License 2.0
241 stars 73 forks source link

Implement the `ByteBufferSerializer` interface #255

Closed armanbilge closed 3 years ago

armanbilge commented 3 years ago

This PR implements Artery's ByteBufferSerializer interface and adds test coverage. References #112.

The most optimized case is direct serialization/deserialization into/from the ByteBuffer. If one or more transformations are applied, Array[Byte] representation is used for the intermediate steps and the ByteBuffer only at the periphery.

Public API changes:

Thanks in advance for your reviews and feedback.

armanbilge commented 3 years ago

Thanks! Do you publish snapshots and/or will release 2.2 soon?

danischroeter commented 3 years ago

@armanbilge We will publish an RC for 2.2. I should be able to do that today...