Package org.ujmp.core.util.io
Interface ByteBufferConcatenation
-
- All Known Implementing Classes:
AbstractByteBufferConcatenation
,AbstractMemoryByteBufferConcatenation
,AbstractWeakMappedByteBufferConcatenation
,MemoryByteBufferConcatenation
,WeakMappedByteBufferConcatenation
public interface ByteBufferConcatenation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
getLength()
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 Detail
-
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)
-
-