org.neo4j.com
Class ChunkingChannelBuffer
java.lang.Object
org.neo4j.com.ChunkingChannelBuffer
- All Implemented Interfaces:
- Comparable<org.jboss.netty.buffer.ChannelBuffer>, EventListener, org.jboss.netty.buffer.ChannelBuffer, org.jboss.netty.channel.ChannelFutureListener
public class ChunkingChannelBuffer
- extends Object
- implements org.jboss.netty.buffer.ChannelBuffer, org.jboss.netty.channel.ChannelFutureListener
| Fields inherited from interface org.jboss.netty.channel.ChannelFutureListener |
CLOSE, CLOSE_ON_FAILURE |
|
Constructor Summary |
ChunkingChannelBuffer(org.jboss.netty.buffer.ChannelBuffer buffer,
org.jboss.netty.channel.Channel channel,
int capacity,
byte internalProtocolVersion,
byte applicationProtocolVersion)
|
|
Method Summary |
byte[] |
array()
|
int |
arrayOffset()
|
int |
bytesBefore(byte value)
|
int |
bytesBefore(org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
|
int |
bytesBefore(int length,
byte value)
|
int |
bytesBefore(int length,
org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
|
int |
bytesBefore(int index,
int length,
byte value)
|
int |
bytesBefore(int index,
int length,
org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
|
int |
capacity()
|
void |
clear()
|
void |
clear(boolean failure)
|
int |
compareTo(org.jboss.netty.buffer.ChannelBuffer buffer)
|
org.jboss.netty.buffer.ChannelBuffer |
copy()
|
org.jboss.netty.buffer.ChannelBuffer |
copy(int index,
int length)
|
void |
discardReadBytes()
|
void |
done()
|
org.jboss.netty.buffer.ChannelBuffer |
duplicate()
|
void |
ensureWritableBytes(int writableBytes)
|
org.jboss.netty.buffer.ChannelBufferFactory |
factory()
|
byte |
getByte(int index)
|
void |
getBytes(int index,
byte[] dst)
|
void |
getBytes(int index,
byte[] dst,
int dstIndex,
int length)
|
void |
getBytes(int index,
ByteBuffer dst)
|
void |
getBytes(int index,
org.jboss.netty.buffer.ChannelBuffer dst)
|
void |
getBytes(int index,
org.jboss.netty.buffer.ChannelBuffer dst,
int length)
|
void |
getBytes(int index,
org.jboss.netty.buffer.ChannelBuffer dst,
int dstIndex,
int length)
|
int |
getBytes(int index,
GatheringByteChannel out,
int length)
|
void |
getBytes(int index,
OutputStream out,
int length)
|
char |
getChar(int index)
|
double |
getDouble(int index)
|
float |
getFloat(int index)
|
int |
getInt(int index)
|
long |
getLong(int index)
|
int |
getMedium(int index)
|
short |
getShort(int index)
|
short |
getUnsignedByte(int index)
|
long |
getUnsignedInt(int index)
|
int |
getUnsignedMedium(int index)
|
int |
getUnsignedShort(int index)
|
boolean |
hasArray()
|
int |
indexOf(int fromIndex,
int toIndex,
byte value)
|
int |
indexOf(int fromIndex,
int toIndex,
org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
|
boolean |
isDirect()
|
void |
markReaderIndex()
|
void |
markWriterIndex()
|
void |
operationComplete(org.jboss.netty.channel.ChannelFuture future)
|
ByteOrder |
order()
|
boolean |
readable()
|
int |
readableBytes()
|
byte |
readByte()
|
void |
readBytes(byte[] dst)
|
void |
readBytes(byte[] dst,
int dstIndex,
int length)
|
void |
readBytes(ByteBuffer dst)
|
void |
readBytes(org.jboss.netty.buffer.ChannelBuffer dst)
|
org.jboss.netty.buffer.ChannelBuffer |
readBytes(org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
|
void |
readBytes(org.jboss.netty.buffer.ChannelBuffer dst,
int length)
|
void |
readBytes(org.jboss.netty.buffer.ChannelBuffer dst,
int dstIndex,
int length)
|
int |
readBytes(GatheringByteChannel out,
int length)
|
org.jboss.netty.buffer.ChannelBuffer |
readBytes(int length)
|
void |
readBytes(OutputStream out,
int length)
|
char |
readChar()
|
double |
readDouble()
|
int |
readerIndex()
|
void |
readerIndex(int readerIndex)
|
float |
readFloat()
|
int |
readInt()
|
long |
readLong()
|
int |
readMedium()
|
short |
readShort()
|
org.jboss.netty.buffer.ChannelBuffer |
readSlice(org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
|
org.jboss.netty.buffer.ChannelBuffer |
readSlice(int length)
|
short |
readUnsignedByte()
|
long |
readUnsignedInt()
|
int |
readUnsignedMedium()
|
int |
readUnsignedShort()
|
void |
resetReaderIndex()
|
void |
resetWriterIndex()
|
void |
setByte(int index,
int value)
|
void |
setBytes(int index,
byte[] src)
|
void |
setBytes(int index,
byte[] src,
int srcIndex,
int length)
|
void |
setBytes(int index,
ByteBuffer src)
|
void |
setBytes(int index,
org.jboss.netty.buffer.ChannelBuffer src)
|
void |
setBytes(int index,
org.jboss.netty.buffer.ChannelBuffer src,
int length)
|
void |
setBytes(int index,
org.jboss.netty.buffer.ChannelBuffer src,
int srcIndex,
int length)
|
int |
setBytes(int index,
InputStream in,
int length)
|
int |
setBytes(int index,
ScatteringByteChannel in,
int length)
|
void |
setChar(int index,
int value)
|
void |
setDouble(int index,
double value)
|
void |
setFloat(int index,
float value)
|
void |
setIndex(int readerIndex,
int writerIndex)
|
void |
setInt(int index,
int value)
|
void |
setLong(int index,
long value)
|
void |
setMedium(int index,
int value)
|
void |
setShort(int index,
int value)
|
void |
setZero(int index,
int length)
|
int |
skipBytes(org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
|
void |
skipBytes(int length)
|
org.jboss.netty.buffer.ChannelBuffer |
slice()
|
org.jboss.netty.buffer.ChannelBuffer |
slice(int index,
int length)
|
ByteBuffer |
toByteBuffer()
|
ByteBuffer |
toByteBuffer(int index,
int length)
|
ByteBuffer[] |
toByteBuffers()
|
ByteBuffer[] |
toByteBuffers(int index,
int length)
|
String |
toString()
|
String |
toString(Charset charset)
|
String |
toString(int index,
int length,
Charset charset)
|
String |
toString(int index,
int length,
String charsetName)
|
String |
toString(int index,
int length,
String charsetName,
org.jboss.netty.buffer.ChannelBufferIndexFinder terminatorFinder)
|
String |
toString(String charsetName)
|
String |
toString(String charsetName,
org.jboss.netty.buffer.ChannelBufferIndexFinder terminatorFinder)
|
boolean |
writable()
|
int |
writableBytes()
|
void |
writeByte(int value)
|
void |
writeBytes(byte[] src)
|
void |
writeBytes(byte[] src,
int srcIndex,
int length)
|
void |
writeBytes(ByteBuffer src)
|
void |
writeBytes(org.jboss.netty.buffer.ChannelBuffer src)
|
void |
writeBytes(org.jboss.netty.buffer.ChannelBuffer src,
int length)
|
void |
writeBytes(org.jboss.netty.buffer.ChannelBuffer src,
int srcIndex,
int length)
|
int |
writeBytes(InputStream in,
int length)
|
int |
writeBytes(ScatteringByteChannel in,
int length)
|
void |
writeChar(int value)
|
void |
writeDouble(double value)
|
void |
writeFloat(float value)
|
void |
writeInt(int value)
|
void |
writeLong(long value)
|
void |
writeMedium(int value)
|
int |
writerIndex()
|
void |
writerIndex(int writerIndex)
|
void |
writeShort(int value)
|
void |
writeZero(int length)
|
| Methods inherited from interface org.jboss.netty.buffer.ChannelBuffer |
equals, hashCode |
ChunkingChannelBuffer
public ChunkingChannelBuffer(org.jboss.netty.buffer.ChannelBuffer buffer,
org.jboss.netty.channel.Channel channel,
int capacity,
byte internalProtocolVersion,
byte applicationProtocolVersion)
factory
public org.jboss.netty.buffer.ChannelBufferFactory factory()
- Specified by:
factory in interface org.jboss.netty.buffer.ChannelBuffer
capacity
public int capacity()
- Specified by:
capacity in interface org.jboss.netty.buffer.ChannelBuffer
order
public ByteOrder order()
- Specified by:
order in interface org.jboss.netty.buffer.ChannelBuffer
isDirect
public boolean isDirect()
- Specified by:
isDirect in interface org.jboss.netty.buffer.ChannelBuffer
readerIndex
public int readerIndex()
- Specified by:
readerIndex in interface org.jboss.netty.buffer.ChannelBuffer
readerIndex
public void readerIndex(int readerIndex)
- Specified by:
readerIndex in interface org.jboss.netty.buffer.ChannelBuffer
writerIndex
public int writerIndex()
- Specified by:
writerIndex in interface org.jboss.netty.buffer.ChannelBuffer
writerIndex
public void writerIndex(int writerIndex)
- Specified by:
writerIndex in interface org.jboss.netty.buffer.ChannelBuffer
setIndex
public void setIndex(int readerIndex,
int writerIndex)
- Specified by:
setIndex in interface org.jboss.netty.buffer.ChannelBuffer
readableBytes
public int readableBytes()
- Specified by:
readableBytes in interface org.jboss.netty.buffer.ChannelBuffer
writableBytes
public int writableBytes()
- Specified by:
writableBytes in interface org.jboss.netty.buffer.ChannelBuffer
readable
public boolean readable()
- Specified by:
readable in interface org.jboss.netty.buffer.ChannelBuffer
writable
public boolean writable()
- Specified by:
writable in interface org.jboss.netty.buffer.ChannelBuffer
clear
public void clear(boolean failure)
clear
public void clear()
- Specified by:
clear in interface org.jboss.netty.buffer.ChannelBuffer
markReaderIndex
public void markReaderIndex()
- Specified by:
markReaderIndex in interface org.jboss.netty.buffer.ChannelBuffer
resetReaderIndex
public void resetReaderIndex()
- Specified by:
resetReaderIndex in interface org.jboss.netty.buffer.ChannelBuffer
markWriterIndex
public void markWriterIndex()
- Specified by:
markWriterIndex in interface org.jboss.netty.buffer.ChannelBuffer
resetWriterIndex
public void resetWriterIndex()
- Specified by:
resetWriterIndex in interface org.jboss.netty.buffer.ChannelBuffer
discardReadBytes
public void discardReadBytes()
- Specified by:
discardReadBytes in interface org.jboss.netty.buffer.ChannelBuffer
ensureWritableBytes
public void ensureWritableBytes(int writableBytes)
- Specified by:
ensureWritableBytes in interface org.jboss.netty.buffer.ChannelBuffer
getByte
public byte getByte(int index)
- Specified by:
getByte in interface org.jboss.netty.buffer.ChannelBuffer
getUnsignedByte
public short getUnsignedByte(int index)
- Specified by:
getUnsignedByte in interface org.jboss.netty.buffer.ChannelBuffer
getShort
public short getShort(int index)
- Specified by:
getShort in interface org.jboss.netty.buffer.ChannelBuffer
getUnsignedShort
public int getUnsignedShort(int index)
- Specified by:
getUnsignedShort in interface org.jboss.netty.buffer.ChannelBuffer
getMedium
public int getMedium(int index)
- Specified by:
getMedium in interface org.jboss.netty.buffer.ChannelBuffer
getUnsignedMedium
public int getUnsignedMedium(int index)
- Specified by:
getUnsignedMedium in interface org.jboss.netty.buffer.ChannelBuffer
getInt
public int getInt(int index)
- Specified by:
getInt in interface org.jboss.netty.buffer.ChannelBuffer
getUnsignedInt
public long getUnsignedInt(int index)
- Specified by:
getUnsignedInt in interface org.jboss.netty.buffer.ChannelBuffer
getLong
public long getLong(int index)
- Specified by:
getLong in interface org.jboss.netty.buffer.ChannelBuffer
getChar
public char getChar(int index)
- Specified by:
getChar in interface org.jboss.netty.buffer.ChannelBuffer
getFloat
public float getFloat(int index)
- Specified by:
getFloat in interface org.jboss.netty.buffer.ChannelBuffer
getDouble
public double getDouble(int index)
- Specified by:
getDouble in interface org.jboss.netty.buffer.ChannelBuffer
getBytes
public void getBytes(int index,
org.jboss.netty.buffer.ChannelBuffer dst)
- Specified by:
getBytes in interface org.jboss.netty.buffer.ChannelBuffer
getBytes
public void getBytes(int index,
org.jboss.netty.buffer.ChannelBuffer dst,
int length)
- Specified by:
getBytes in interface org.jboss.netty.buffer.ChannelBuffer
getBytes
public void getBytes(int index,
org.jboss.netty.buffer.ChannelBuffer dst,
int dstIndex,
int length)
- Specified by:
getBytes in interface org.jboss.netty.buffer.ChannelBuffer
getBytes
public void getBytes(int index,
byte[] dst)
- Specified by:
getBytes in interface org.jboss.netty.buffer.ChannelBuffer
getBytes
public void getBytes(int index,
byte[] dst,
int dstIndex,
int length)
- Specified by:
getBytes in interface org.jboss.netty.buffer.ChannelBuffer
getBytes
public void getBytes(int index,
ByteBuffer dst)
- Specified by:
getBytes in interface org.jboss.netty.buffer.ChannelBuffer
getBytes
public void getBytes(int index,
OutputStream out,
int length)
throws IOException
- Specified by:
getBytes in interface org.jboss.netty.buffer.ChannelBuffer
- Throws:
IOException
getBytes
public int getBytes(int index,
GatheringByteChannel out,
int length)
throws IOException
- Specified by:
getBytes in interface org.jboss.netty.buffer.ChannelBuffer
- Throws:
IOException
setByte
public void setByte(int index,
int value)
- Specified by:
setByte in interface org.jboss.netty.buffer.ChannelBuffer
setShort
public void setShort(int index,
int value)
- Specified by:
setShort in interface org.jboss.netty.buffer.ChannelBuffer
setMedium
public void setMedium(int index,
int value)
- Specified by:
setMedium in interface org.jboss.netty.buffer.ChannelBuffer
setInt
public void setInt(int index,
int value)
- Specified by:
setInt in interface org.jboss.netty.buffer.ChannelBuffer
setLong
public void setLong(int index,
long value)
- Specified by:
setLong in interface org.jboss.netty.buffer.ChannelBuffer
setChar
public void setChar(int index,
int value)
- Specified by:
setChar in interface org.jboss.netty.buffer.ChannelBuffer
setFloat
public void setFloat(int index,
float value)
- Specified by:
setFloat in interface org.jboss.netty.buffer.ChannelBuffer
setDouble
public void setDouble(int index,
double value)
- Specified by:
setDouble in interface org.jboss.netty.buffer.ChannelBuffer
setBytes
public void setBytes(int index,
org.jboss.netty.buffer.ChannelBuffer src)
- Specified by:
setBytes in interface org.jboss.netty.buffer.ChannelBuffer
setBytes
public void setBytes(int index,
org.jboss.netty.buffer.ChannelBuffer src,
int length)
- Specified by:
setBytes in interface org.jboss.netty.buffer.ChannelBuffer
setBytes
public void setBytes(int index,
org.jboss.netty.buffer.ChannelBuffer src,
int srcIndex,
int length)
- Specified by:
setBytes in interface org.jboss.netty.buffer.ChannelBuffer
setBytes
public void setBytes(int index,
byte[] src)
- Specified by:
setBytes in interface org.jboss.netty.buffer.ChannelBuffer
setBytes
public void setBytes(int index,
byte[] src,
int srcIndex,
int length)
- Specified by:
setBytes in interface org.jboss.netty.buffer.ChannelBuffer
setBytes
public void setBytes(int index,
ByteBuffer src)
- Specified by:
setBytes in interface org.jboss.netty.buffer.ChannelBuffer
setBytes
public int setBytes(int index,
InputStream in,
int length)
throws IOException
- Specified by:
setBytes in interface org.jboss.netty.buffer.ChannelBuffer
- Throws:
IOException
setBytes
public int setBytes(int index,
ScatteringByteChannel in,
int length)
throws IOException
- Specified by:
setBytes in interface org.jboss.netty.buffer.ChannelBuffer
- Throws:
IOException
setZero
public void setZero(int index,
int length)
- Specified by:
setZero in interface org.jboss.netty.buffer.ChannelBuffer
readByte
public byte readByte()
- Specified by:
readByte in interface org.jboss.netty.buffer.ChannelBuffer
readUnsignedByte
public short readUnsignedByte()
- Specified by:
readUnsignedByte in interface org.jboss.netty.buffer.ChannelBuffer
readShort
public short readShort()
- Specified by:
readShort in interface org.jboss.netty.buffer.ChannelBuffer
readUnsignedShort
public int readUnsignedShort()
- Specified by:
readUnsignedShort in interface org.jboss.netty.buffer.ChannelBuffer
readMedium
public int readMedium()
- Specified by:
readMedium in interface org.jboss.netty.buffer.ChannelBuffer
readUnsignedMedium
public int readUnsignedMedium()
- Specified by:
readUnsignedMedium in interface org.jboss.netty.buffer.ChannelBuffer
readInt
public int readInt()
- Specified by:
readInt in interface org.jboss.netty.buffer.ChannelBuffer
readUnsignedInt
public long readUnsignedInt()
- Specified by:
readUnsignedInt in interface org.jboss.netty.buffer.ChannelBuffer
readLong
public long readLong()
- Specified by:
readLong in interface org.jboss.netty.buffer.ChannelBuffer
readChar
public char readChar()
- Specified by:
readChar in interface org.jboss.netty.buffer.ChannelBuffer
readFloat
public float readFloat()
- Specified by:
readFloat in interface org.jboss.netty.buffer.ChannelBuffer
readDouble
public double readDouble()
- Specified by:
readDouble in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public org.jboss.netty.buffer.ChannelBuffer readBytes(int length)
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public org.jboss.netty.buffer.ChannelBuffer readBytes(org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
readSlice
public org.jboss.netty.buffer.ChannelBuffer readSlice(int length)
- Specified by:
readSlice in interface org.jboss.netty.buffer.ChannelBuffer
readSlice
public org.jboss.netty.buffer.ChannelBuffer readSlice(org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
- Specified by:
readSlice in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public void readBytes(org.jboss.netty.buffer.ChannelBuffer dst)
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public void readBytes(org.jboss.netty.buffer.ChannelBuffer dst,
int length)
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public void readBytes(org.jboss.netty.buffer.ChannelBuffer dst,
int dstIndex,
int length)
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public void readBytes(byte[] dst)
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public void readBytes(byte[] dst,
int dstIndex,
int length)
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public void readBytes(ByteBuffer dst)
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
readBytes
public void readBytes(OutputStream out,
int length)
throws IOException
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
- Throws:
IOException
readBytes
public int readBytes(GatheringByteChannel out,
int length)
throws IOException
- Specified by:
readBytes in interface org.jboss.netty.buffer.ChannelBuffer
- Throws:
IOException
skipBytes
public void skipBytes(int length)
- Specified by:
skipBytes in interface org.jboss.netty.buffer.ChannelBuffer
skipBytes
public int skipBytes(org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
- Specified by:
skipBytes in interface org.jboss.netty.buffer.ChannelBuffer
operationComplete
public void operationComplete(org.jboss.netty.channel.ChannelFuture future)
throws Exception
- Specified by:
operationComplete in interface org.jboss.netty.channel.ChannelFutureListener
- Throws:
Exception
done
public void done()
writeByte
public void writeByte(int value)
- Specified by:
writeByte in interface org.jboss.netty.buffer.ChannelBuffer
writeShort
public void writeShort(int value)
- Specified by:
writeShort in interface org.jboss.netty.buffer.ChannelBuffer
writeMedium
public void writeMedium(int value)
- Specified by:
writeMedium in interface org.jboss.netty.buffer.ChannelBuffer
writeInt
public void writeInt(int value)
- Specified by:
writeInt in interface org.jboss.netty.buffer.ChannelBuffer
writeLong
public void writeLong(long value)
- Specified by:
writeLong in interface org.jboss.netty.buffer.ChannelBuffer
writeChar
public void writeChar(int value)
- Specified by:
writeChar in interface org.jboss.netty.buffer.ChannelBuffer
writeFloat
public void writeFloat(float value)
- Specified by:
writeFloat in interface org.jboss.netty.buffer.ChannelBuffer
writeDouble
public void writeDouble(double value)
- Specified by:
writeDouble in interface org.jboss.netty.buffer.ChannelBuffer
writeBytes
public void writeBytes(org.jboss.netty.buffer.ChannelBuffer src)
- Specified by:
writeBytes in interface org.jboss.netty.buffer.ChannelBuffer
writeBytes
public void writeBytes(org.jboss.netty.buffer.ChannelBuffer src,
int length)
- Specified by:
writeBytes in interface org.jboss.netty.buffer.ChannelBuffer
writeBytes
public void writeBytes(org.jboss.netty.buffer.ChannelBuffer src,
int srcIndex,
int length)
- Specified by:
writeBytes in interface org.jboss.netty.buffer.ChannelBuffer
writeBytes
public void writeBytes(byte[] src)
- Specified by:
writeBytes in interface org.jboss.netty.buffer.ChannelBuffer
writeBytes
public void writeBytes(byte[] src,
int srcIndex,
int length)
- Specified by:
writeBytes in interface org.jboss.netty.buffer.ChannelBuffer
writeBytes
public void writeBytes(ByteBuffer src)
- Specified by:
writeBytes in interface org.jboss.netty.buffer.ChannelBuffer
writeBytes
public int writeBytes(InputStream in,
int length)
throws IOException
- Specified by:
writeBytes in interface org.jboss.netty.buffer.ChannelBuffer
- Throws:
IOException
writeBytes
public int writeBytes(ScatteringByteChannel in,
int length)
throws IOException
- Specified by:
writeBytes in interface org.jboss.netty.buffer.ChannelBuffer
- Throws:
IOException
writeZero
public void writeZero(int length)
- Specified by:
writeZero in interface org.jboss.netty.buffer.ChannelBuffer
indexOf
public int indexOf(int fromIndex,
int toIndex,
byte value)
- Specified by:
indexOf in interface org.jboss.netty.buffer.ChannelBuffer
indexOf
public int indexOf(int fromIndex,
int toIndex,
org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
- Specified by:
indexOf in interface org.jboss.netty.buffer.ChannelBuffer
bytesBefore
public int bytesBefore(byte value)
- Specified by:
bytesBefore in interface org.jboss.netty.buffer.ChannelBuffer
bytesBefore
public int bytesBefore(org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
- Specified by:
bytesBefore in interface org.jboss.netty.buffer.ChannelBuffer
bytesBefore
public int bytesBefore(int length,
byte value)
- Specified by:
bytesBefore in interface org.jboss.netty.buffer.ChannelBuffer
bytesBefore
public int bytesBefore(int length,
org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
- Specified by:
bytesBefore in interface org.jboss.netty.buffer.ChannelBuffer
bytesBefore
public int bytesBefore(int index,
int length,
byte value)
- Specified by:
bytesBefore in interface org.jboss.netty.buffer.ChannelBuffer
bytesBefore
public int bytesBefore(int index,
int length,
org.jboss.netty.buffer.ChannelBufferIndexFinder indexFinder)
- Specified by:
bytesBefore in interface org.jboss.netty.buffer.ChannelBuffer
copy
public org.jboss.netty.buffer.ChannelBuffer copy()
- Specified by:
copy in interface org.jboss.netty.buffer.ChannelBuffer
copy
public org.jboss.netty.buffer.ChannelBuffer copy(int index,
int length)
- Specified by:
copy in interface org.jboss.netty.buffer.ChannelBuffer
slice
public org.jboss.netty.buffer.ChannelBuffer slice()
- Specified by:
slice in interface org.jboss.netty.buffer.ChannelBuffer
slice
public org.jboss.netty.buffer.ChannelBuffer slice(int index,
int length)
- Specified by:
slice in interface org.jboss.netty.buffer.ChannelBuffer
duplicate
public org.jboss.netty.buffer.ChannelBuffer duplicate()
- Specified by:
duplicate in interface org.jboss.netty.buffer.ChannelBuffer
toByteBuffer
public ByteBuffer toByteBuffer()
- Specified by:
toByteBuffer in interface org.jboss.netty.buffer.ChannelBuffer
toByteBuffer
public ByteBuffer toByteBuffer(int index,
int length)
- Specified by:
toByteBuffer in interface org.jboss.netty.buffer.ChannelBuffer
toByteBuffers
public ByteBuffer[] toByteBuffers()
- Specified by:
toByteBuffers in interface org.jboss.netty.buffer.ChannelBuffer
toByteBuffers
public ByteBuffer[] toByteBuffers(int index,
int length)
- Specified by:
toByteBuffers in interface org.jboss.netty.buffer.ChannelBuffer
hasArray
public boolean hasArray()
- Specified by:
hasArray in interface org.jboss.netty.buffer.ChannelBuffer
array
public byte[] array()
- Specified by:
array in interface org.jboss.netty.buffer.ChannelBuffer
arrayOffset
public int arrayOffset()
- Specified by:
arrayOffset in interface org.jboss.netty.buffer.ChannelBuffer
toString
public String toString(Charset charset)
- Specified by:
toString in interface org.jboss.netty.buffer.ChannelBuffer
toString
public String toString(int index,
int length,
Charset charset)
- Specified by:
toString in interface org.jboss.netty.buffer.ChannelBuffer
toString
public String toString(String charsetName)
- Specified by:
toString in interface org.jboss.netty.buffer.ChannelBuffer
toString
public String toString(String charsetName,
org.jboss.netty.buffer.ChannelBufferIndexFinder terminatorFinder)
- Specified by:
toString in interface org.jboss.netty.buffer.ChannelBuffer
toString
public String toString(int index,
int length,
String charsetName)
- Specified by:
toString in interface org.jboss.netty.buffer.ChannelBuffer
toString
public String toString(int index,
int length,
String charsetName,
org.jboss.netty.buffer.ChannelBufferIndexFinder terminatorFinder)
- Specified by:
toString in interface org.jboss.netty.buffer.ChannelBuffer
compareTo
public int compareTo(org.jboss.netty.buffer.ChannelBuffer buffer)
- Specified by:
compareTo in interface Comparable<org.jboss.netty.buffer.ChannelBuffer>- Specified by:
compareTo in interface org.jboss.netty.buffer.ChannelBuffer
toString
public String toString()
- Specified by:
toString in interface org.jboss.netty.buffer.ChannelBuffer- Overrides:
toString in class Object
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.