Example usage for Java io.netty.buffer ByteBufOutputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
ByteBuf | buffer |
ByteBufOutputStream(ByteBuf buffer) Creates a new stream which writes data to the specified buffer . |
void | write(byte[] b) |
void | write(int b) |
void | writeBoolean(boolean v) |
void | writeByte(int v) |
void | writeDouble(double v) |
void | writeFloat(float v) |
void | writeInt(int v) |
void | writeLong(long v) |
void | writeShort(int v) |
void | writeUTF(String s) |
int | writtenBytes() Returns the number of written bytes by this stream so far. |