public static interface BlockPublishStore.Buffer
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
byte |
getByte() |
void |
getBytes(BlockPublishStore.ByteSequence outBytes) |
void |
getBytes(Field outField,
int length) |
int |
getInt() |
int |
getInt(long position) |
long |
getLong() |
long |
getPosition() |
long |
getSize() |
void |
putByte(byte b) |
void |
putBytes(BlockPublishStore.ByteSequence bytes) |
void |
putBytes(byte[] buffer,
long offset,
long length) |
void |
putInt(int i) |
void |
putInt(long position,
int i) |
void |
putLong(long l) |
void |
putLong(long position,
long l) |
void |
setPosition(long position) |
void |
setSize(long newSize) |
void |
zero(long offset,
int length) |
long getSize()
throws java.io.IOException
java.io.IOExceptionvoid setSize(long newSize)
throws java.io.IOException
java.io.IOExceptionlong getPosition()
throws java.io.IOException
java.io.IOExceptionvoid setPosition(long position)
throws java.io.IOException
java.io.IOExceptionvoid putByte(byte b)
throws java.io.IOException
java.io.IOExceptionbyte getByte()
throws java.io.IOException
java.io.IOExceptionvoid putInt(int i)
throws java.io.IOException
java.io.IOExceptionvoid putInt(long position,
int i)
throws java.io.IOException
java.io.IOExceptionint getInt()
throws java.io.IOException
java.io.IOExceptionint getInt(long position)
throws java.io.IOException
java.io.IOExceptionvoid putLong(long l)
throws java.io.IOException
java.io.IOExceptionvoid putLong(long position,
long l)
throws java.io.IOException
java.io.IOExceptionlong getLong()
throws java.io.IOException
java.io.IOExceptionvoid putBytes(BlockPublishStore.ByteSequence bytes) throws java.io.IOException
java.io.IOExceptionvoid getBytes(BlockPublishStore.ByteSequence outBytes) throws java.io.IOException
java.io.IOExceptionvoid zero(long offset,
int length)
throws java.io.IOException
java.io.IOExceptionvoid putBytes(byte[] buffer,
long offset,
long length)
throws java.io.IOException
java.io.IOExceptionvoid getBytes(Field outField, int length) throws java.io.IOException
java.io.IOException