public final class ByteSequenceData extends Object
Modifier and Type | Method and Description |
---|---|
static int |
read(ByteSequence packet) |
static boolean |
readBoolean(ByteSequence packet) |
static byte |
readByte(ByteSequence packet) |
static char |
readCharBig(ByteSequence packet) |
static char |
readCharLittle(ByteSequence packet) |
static double |
readDoubleBig(ByteSequence packet) |
static double |
readDoubleLittle(ByteSequence packet) |
static float |
readFloatBig(ByteSequence packet) |
static float |
readFloatLittle(ByteSequence packet) |
static void |
readFully(ByteSequence packet,
byte[] b) |
static void |
readFully(ByteSequence packet,
byte[] b,
int off,
int len) |
static int |
readIntBig(ByteSequence packet) |
static int |
readIntLittle(ByteSequence packet) |
static long |
readLongBig(ByteSequence packet) |
static long |
readLongLittle(ByteSequence packet) |
static short |
readShortBig(ByteSequence packet) |
static short |
readShortLittle(ByteSequence packet) |
static int |
readUnsignedByte(ByteSequence packet) |
static int |
readUnsignedShortBig(ByteSequence packet) |
static int |
readUnsignedShortLittle(ByteSequence packet) |
static int |
remaining(ByteSequence packet) |
static int |
skipBytes(ByteSequence packet,
int n) |
static byte[] |
toByteArray(ByteSequence packet) |
static void |
write(ByteSequence packet,
byte[] b) |
static void |
write(ByteSequence packet,
byte[] b,
int off,
int len) |
static void |
write(ByteSequence packet,
int b) |
static void |
writeBoolean(ByteSequence packet,
boolean v) |
static void |
writeByte(ByteSequence packet,
int v) |
static void |
writeCharBig(ByteSequence packet,
int v) |
static void |
writeCharLittle(ByteSequence packet,
int v) |
static void |
writeDoubleBig(ByteSequence packet,
double v) |
static void |
writeDoubleLittle(ByteSequence packet,
double v) |
static void |
writeFloatBig(ByteSequence packet,
float v) |
static void |
writeFloatLittle(ByteSequence packet,
float v) |
static void |
writeIntBig(ByteSequence packet,
int v) |
static void |
writeIntLittle(ByteSequence packet,
int v) |
static void |
writeLongBig(ByteSequence packet,
long v) |
static void |
writeLongLittle(ByteSequence packet,
long v) |
static void |
writeRawDoubleBig(ByteSequence packet,
double v) |
static void |
writeRawDoubleLittle(ByteSequence packet,
double v) |
static void |
writeRawFloatBig(ByteSequence packet,
float v) |
static void |
writeRawFloatLittle(ByteSequence packet,
float v) |
static void |
writeShortBig(ByteSequence packet,
int v) |
static void |
writeShortLittle(ByteSequence packet,
int v) |
public static byte[] toByteArray(ByteSequence packet)
public static int remaining(ByteSequence packet)
public static int read(ByteSequence packet)
public static void readFully(ByteSequence packet, byte[] b) throws IOException
IOException
public static void readFully(ByteSequence packet, byte[] b, int off, int len) throws IOException
IOException
public static int skipBytes(ByteSequence packet, int n) throws IOException
IOException
public static boolean readBoolean(ByteSequence packet) throws IOException
IOException
public static byte readByte(ByteSequence packet) throws IOException
IOException
public static int readUnsignedByte(ByteSequence packet) throws IOException
IOException
public static short readShortBig(ByteSequence packet) throws IOException
IOException
public static short readShortLittle(ByteSequence packet) throws IOException
IOException
public static int readUnsignedShortBig(ByteSequence packet) throws IOException
IOException
public static int readUnsignedShortLittle(ByteSequence packet) throws IOException
IOException
public static char readCharBig(ByteSequence packet) throws IOException
IOException
public static char readCharLittle(ByteSequence packet) throws IOException
IOException
public static int readIntBig(ByteSequence packet) throws IOException
IOException
public static int readIntLittle(ByteSequence packet) throws IOException
IOException
public static long readLongBig(ByteSequence packet) throws IOException
IOException
public static long readLongLittle(ByteSequence packet) throws IOException
IOException
public static double readDoubleBig(ByteSequence packet) throws IOException
IOException
public static double readDoubleLittle(ByteSequence packet) throws IOException
IOException
public static float readFloatBig(ByteSequence packet) throws IOException
IOException
public static float readFloatLittle(ByteSequence packet) throws IOException
IOException
public static void write(ByteSequence packet, int b) throws IOException
IOException
public static void write(ByteSequence packet, byte[] b) throws IOException
IOException
public static void write(ByteSequence packet, byte[] b, int off, int len) throws IOException
IOException
public static void writeBoolean(ByteSequence packet, boolean v) throws IOException
IOException
public static void writeByte(ByteSequence packet, int v) throws IOException
IOException
public static void writeShortBig(ByteSequence packet, int v) throws IOException
IOException
public static void writeShortLittle(ByteSequence packet, int v) throws IOException
IOException
public static void writeCharBig(ByteSequence packet, int v) throws IOException
IOException
public static void writeCharLittle(ByteSequence packet, int v) throws IOException
IOException
public static void writeIntBig(ByteSequence packet, int v) throws IOException
IOException
public static void writeIntLittle(ByteSequence packet, int v) throws IOException
IOException
public static void writeLongBig(ByteSequence packet, long v) throws IOException
IOException
public static void writeLongLittle(ByteSequence packet, long v) throws IOException
IOException
public static void writeDoubleBig(ByteSequence packet, double v) throws IOException
IOException
public static void writeDoubleLittle(ByteSequence packet, double v) throws IOException
IOException
public static void writeFloatBig(ByteSequence packet, float v) throws IOException
IOException
public static void writeFloatLittle(ByteSequence packet, float v) throws IOException
IOException
public static void writeRawDoubleBig(ByteSequence packet, double v) throws IOException
IOException
public static void writeRawDoubleLittle(ByteSequence packet, double v) throws IOException
IOException
public static void writeRawFloatBig(ByteSequence packet, float v) throws IOException
IOException
public static void writeRawFloatLittle(ByteSequence packet, float v) throws IOException
IOException
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.