Package org.ujmp.core.util.io
Interface ByteBufferConcatenation
- All Known Implementing Classes:
AbstractByteBufferConcatenation
,AbstractMemoryByteBufferConcatenation
,AbstractWeakMappedByteBufferConcatenation
,MemoryByteBufferConcatenation
,WeakMappedByteBufferConcatenation
public interface ByteBufferConcatenation
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendBytes
(byte[] bytes) void
deleteByte
(long position) void
deleteBytes
(long position, int count) void
expand
(long bytesToAdd) byte
getByte
(long position) void
getBytes
(byte[] bytes, long position) void
getBytes
(byte[] bytes, long position, int length) long
void
insertBytes
(byte[] bytes, long position) void
setByte
(byte b, long position) void
setBytes
(byte[] bytes, long position) void
setBytes
(byte[] bytes, long position, int length) void
shrink
(long bytesToRemove)
-
Method Details
-
getLength
long getLength() -
getByte
byte getByte(long position) -
setByte
void setByte(byte b, long position) -
getBytes
void getBytes(byte[] bytes, long position) -
setBytes
void setBytes(byte[] bytes, long position) -
getBytes
void getBytes(byte[] bytes, long position, int length) -
deleteByte
void deleteByte(long position) -
deleteBytes
void deleteBytes(long position, int count) -
setBytes
void setBytes(byte[] bytes, long position, int length) -
insertBytes
void insertBytes(byte[] bytes, long position) -
appendBytes
void appendBytes(byte[] bytes) -
expand
void expand(long bytesToAdd) -
shrink
void shrink(long bytesToRemove)
-