Package org.ujmp.core.util.io
Class WeakMappedByteBufferConcatenation
java.lang.Object
org.ujmp.core.util.io.AbstractByteBufferConcatenation
org.ujmp.core.util.io.AbstractWeakMappedByteBufferConcatenation
org.ujmp.core.util.io.WeakMappedByteBufferConcatenation
- All Implemented Interfaces:
ByteBufferConcatenation
-
Field Summary
Fields inherited from class org.ujmp.core.util.io.AbstractWeakMappedByteBufferConcatenation
byteBuffers, totalLength
Fields inherited from class org.ujmp.core.util.io.AbstractByteBufferConcatenation
DEFAULTBUFFERSIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
expand
(long bytesToAdd) void
insertBytes
(byte[] bytes, long position) void
shrink
(long bytesToRemove) Methods inherited from class org.ujmp.core.util.io.AbstractWeakMappedByteBufferConcatenation
deleteBytes, getByte, getBytes, getLength, setByte, setBytes, toString
Methods inherited from class org.ujmp.core.util.io.AbstractByteBufferConcatenation
appendBytes, deleteByte, getBytes, setBytes
-
Constructor Details
-
WeakMappedByteBufferConcatenation
-
-
Method Details
-
insertBytes
public void insertBytes(byte[] bytes, long position) -
expand
public void expand(long bytesToAdd) -
shrink
public void shrink(long bytesToRemove)
-