public class Buffer extends Object
| Constructor and Description |
|---|
Buffer(io.netty.buffer.ByteBuf buffer) |
Buffer(io.netty.buffer.ByteBuf buffer,
int length) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
addComponent(io.netty.buffer.ByteBuf slice) |
int |
alreadyRead() |
io.netty.buffer.ByteBuf |
buffer() |
boolean |
done() |
boolean |
equals(Object obj) |
protected void |
finalize() |
int |
hashCode() |
int |
incRead(int read) |
boolean |
isComplete() |
int |
length() |
Object |
object() |
int |
readable() |
void |
reset() |
public Buffer(io.netty.buffer.ByteBuf buffer,
int length)
public Buffer(io.netty.buffer.ByteBuf buffer)
public int length()
public io.netty.buffer.ByteBuf buffer()
public int readable()
public boolean isComplete()
public int incRead(int read)
public boolean done()
public int alreadyRead()
public Buffer addComponent(io.netty.buffer.ByteBuf slice)
public Object object() throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionprotected void finalize()
throws Throwable
public void reset()
Copyright © 2014. All rights reserved.