We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Bufferable works with Injection. to let you serialize items into a ByteBuffer. (This page is a stub, obviously.)
Bufferable
Injection
ByteBuffer
Here’s the basic idea:
import MyInjections._ // This pulls in Injection[T, Array[Byte]] implicitly; implicit val myBufferable = Bufferable.of[T] val myInjection: Injection[(Long, T), Array[Byte]] = Bufferable.injectionOf[(Long, T)]