Problem description
issue when deserializing data when ByteBuffer arrayOffset > 0
Problem location
in AbstractDeserializer#deserialize it tries to go outside buffer boundary when setting position - in below example it is setting position to 101, limit is 36 so Buffer throws IllegalArgEx (added some logs to get the output)
Problem description issue when deserializing data when ByteBuffer arrayOffset > 0
Problem location in AbstractDeserializer#deserialize it tries to go outside buffer boundary when setting position - in below example it is setting position to 101, limit is 36 so Buffer throws IllegalArgEx (added some logs to get the output)
hasArray: true arrayOffset: 96 position: 0 remaining: 36 limit: 36 start: 96 HEADER_SIZE: 5
code snip:
Suggestions for an improvement i think, arrayOffset is not needed here when setting position