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