Package org.ujmp.core.util.io
Class AbstractByteBufferConcatenation
java.lang.Object
org.ujmp.core.util.io.AbstractByteBufferConcatenation
- All Implemented Interfaces:
ByteBufferConcatenation
- Direct Known Subclasses:
AbstractMemoryByteBufferConcatenation
,AbstractWeakMappedByteBufferConcatenation
public abstract class AbstractByteBufferConcatenation
extends Object
implements ByteBufferConcatenation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
appendBytes
(byte[] bytes) final void
deleteByte
(long position) final void
getBytes
(byte[] bytes, long position) final void
setBytes
(byte[] bytes, long position) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ujmp.core.util.io.ByteBufferConcatenation
deleteBytes, expand, getByte, getBytes, getLength, insertBytes, setByte, setBytes, shrink
-
Field Details
-
DEFAULTBUFFERSIZE
public static final int DEFAULTBUFFERSIZE- See Also:
-
-
Constructor Details
-
AbstractByteBufferConcatenation
public AbstractByteBufferConcatenation()
-
-
Method Details
-
deleteByte
public final void deleteByte(long position) - Specified by:
deleteByte
in interfaceByteBufferConcatenation
-
getBytes
public final void getBytes(byte[] bytes, long position) - Specified by:
getBytes
in interfaceByteBufferConcatenation
-
setBytes
public final void setBytes(byte[] bytes, long position) - Specified by:
setBytes
in interfaceByteBufferConcatenation
-
appendBytes
public final void appendBytes(byte[] bytes) - Specified by:
appendBytes
in interfaceByteBufferConcatenation
-