mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-276 Server to send V/K serialisers to the stateless client - also now auto resizing buffer
This commit is contained in:
@@ -451,7 +451,7 @@ abstract class AbstractChannelReplicator implements Closeable {
|
||||
final ByteBuffer result = ByteBuffer.allocate(size).order(ByteOrder.nativeOrder());
|
||||
final long bytesPosition = in.position();
|
||||
|
||||
in = new ByteBufferBytes(result.slice());
|
||||
in = new ByteBufferBytes(result);
|
||||
|
||||
out.position(0);
|
||||
out.limit((int) bytesPosition);
|
||||
|
||||
Reference in New Issue
Block a user