Package org.ujmp.core.util.io
Class AbstractMemoryByteBufferConcatenation
java.lang.Object
org.ujmp.core.util.io.AbstractByteBufferConcatenation
org.ujmp.core.util.io.AbstractMemoryByteBufferConcatenation
- All Implemented Interfaces:
ByteBufferConcatenation
- Direct Known Subclasses:
MemoryByteBufferConcatenation
-
Field Summary
FieldsFields inherited from class org.ujmp.core.util.io.AbstractByteBufferConcatenation
DEFAULTBUFFERSIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
deleteBytes
(long position, int count) final byte
getByte
(long position) final void
getBytes
(byte[] bytes, long position, int length) final long
final void
setByte
(byte b, long position) final void
setBytes
(byte[] bytes, long position, int length) final String
toString()
Methods inherited from class org.ujmp.core.util.io.AbstractByteBufferConcatenation
appendBytes, deleteByte, getBytes, setBytes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ujmp.core.util.io.ByteBufferConcatenation
expand, insertBytes, shrink
-
Field Details
-
byteBuffers
-
totalLength
protected long totalLength
-
-
Constructor Details
-
AbstractMemoryByteBufferConcatenation
-
-
Method Details
-
getLength
public final long getLength() -
deleteBytes
public final void deleteBytes(long position, int count) -
toString
-
getByte
public final byte getByte(long position) -
setByte
public final void setByte(byte b, long position) -
getBytes
public final void getBytes(byte[] bytes, long position, int length) -
setBytes
public final void setBytes(byte[] bytes, long position, int length)
-