List of utility methods to do ByteBuffer to Object
Object | byteBufferToObject(ByteBuffer byteBuffer) byte Buffer To Object byte[] bytes = new byte[byteBuffer.limit()]; byteBuffer.get(bytes); Object object = deSerializer(bytes); return object; |
Object | byteToObject(ByteBuffer source) byte To Object return byteToObject(source.array());
|