You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to unpacking HeapByteBufferR without copying bytes. Because I save msgpack data in BigTable, and BigTable library returns ByteString, and it only able to be no-copy converted to HeapByteBufferR with asReadOnlyByteBuffer().
The text was updated successfully, but these errors were encountered:
Currently
MessagePack.newDefaultUnpacker(ByteBuffer buffer)
doesn't support HeapByteBufferWhen passing Read Only ByteBuffer, following exception happened. Because
HeapByteBfuferR.hashArray()
andHeapByteBfuferR.isDirect()
returns false.https://github.com/msgpack/msgpack-java/blob/main/msgpack-core/src/main/java/org/msgpack/core/buffer/MessageBuffer.java#L400
I want to unpacking HeapByteBufferR without copying bytes. Because I save msgpack data in BigTable, and BigTable library returns ByteString, and it only able to be no-copy converted to HeapByteBufferR with
asReadOnlyByteBuffer()
.The text was updated successfully, but these errors were encountered: