public class ChannelUtils extends Object
Constructor and Description |
---|
ChannelUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
readBytes(io.netty.buffer.ByteBuf bb,
int length) |
static String |
readFixedLengthString(io.netty.buffer.ByteBuf bb,
int length) |
static <T> List<T> |
readList(io.netty.buffer.ByteBuf bb,
int length,
OFMessageReader<T> reader) |
static void |
writeBytes(io.netty.buffer.ByteBuf bb,
byte[] byteArray) |
static void |
writeFixedLengthString(io.netty.buffer.ByteBuf bb,
String string,
int length) |
static void |
writeList(io.netty.buffer.ByteBuf bb,
List<? extends Writeable> writeables) |
public static String readFixedLengthString(io.netty.buffer.ByteBuf bb, int length)
public static void writeFixedLengthString(io.netty.buffer.ByteBuf bb, String string, int length)
public static byte[] readBytes(io.netty.buffer.ByteBuf bb, int length)
public static void writeBytes(io.netty.buffer.ByteBuf bb, byte[] byteArray)
public static <T> List<T> readList(io.netty.buffer.ByteBuf bb, int length, OFMessageReader<T> reader) throws OFParseError
OFParseError
Copyright © 2015. All rights reserved.