public class Wire
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
Wire() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
extractString(java.nio.charset.Charset charset,
java.nio.ByteBuffer buf,
int offset,
int length,
int sizeOfSize) |
static java.lang.String |
getLongString(java.nio.ByteBuffer buf,
int offset) |
static java.lang.String |
getLongString(java.nio.charset.Charset charset,
java.nio.ByteBuffer buf,
int offset) |
static java.lang.String |
getShortString(java.nio.ByteBuffer buf,
int offset) |
static java.lang.String |
getShortString(java.nio.charset.Charset charset,
java.nio.ByteBuffer buf,
int offset) |
static int |
getUInt16(byte[] bytes) |
static int |
getUInt16(java.nio.ByteBuffer buf,
int offset) |
static int |
getUInt32(byte[] bytes,
int offset) |
static int |
getUInt32(java.nio.ByteBuffer buf) |
static int |
getUInt32(java.nio.ByteBuffer buf,
int offset) |
static int |
getUInt32(Msg msg,
int offset) |
static long |
getUInt64(java.nio.ByteBuffer buf,
int offset) |
static long |
getUInt64(Msg msg,
int offset) |
private static int |
getUInt8(java.nio.ByteBuffer buf,
int offset) |
static int |
putLongString(java.nio.ByteBuffer buf,
java.lang.String value) |
static int |
putLongString(java.nio.charset.Charset charset,
java.nio.ByteBuffer buf,
java.lang.String value) |
static int |
putShortString(java.nio.ByteBuffer buf,
java.lang.String value) |
static int |
putShortString(java.nio.charset.Charset charset,
java.nio.ByteBuffer buf,
java.lang.String value) |
static java.nio.ByteBuffer |
putUInt16(java.nio.ByteBuffer buf,
int value) |
static byte[] |
putUInt16(int value) |
static Msg |
putUInt16(Msg msg,
int value) |
static java.nio.ByteBuffer |
putUInt32(java.nio.ByteBuffer buf,
int value) |
static byte[] |
putUInt32(int value) |
static Msg |
putUInt32(Msg msg,
int value) |
static java.nio.ByteBuffer |
putUInt64(java.nio.ByteBuffer buf,
long value) |
private static java.nio.ByteBuffer |
putUInt8(java.nio.ByteBuffer buf,
int value) |
private static int getUInt8(java.nio.ByteBuffer buf, int offset)
private static java.nio.ByteBuffer putUInt8(java.nio.ByteBuffer buf, int value)
public static int getUInt16(byte[] bytes)
public static int getUInt16(java.nio.ByteBuffer buf, int offset)
public static byte[] putUInt16(int value)
public static java.nio.ByteBuffer putUInt16(java.nio.ByteBuffer buf, int value)
public static int getUInt32(java.nio.ByteBuffer buf)
public static int getUInt32(java.nio.ByteBuffer buf, int offset)
public static int getUInt32(Msg msg, int offset)
public static int getUInt32(byte[] bytes, int offset)
public static java.nio.ByteBuffer putUInt32(java.nio.ByteBuffer buf, int value)
public static byte[] putUInt32(int value)
public static java.nio.ByteBuffer putUInt64(java.nio.ByteBuffer buf, long value)
public static long getUInt64(java.nio.ByteBuffer buf, int offset)
public static long getUInt64(Msg msg, int offset)
public static int putShortString(java.nio.ByteBuffer buf, java.lang.String value)
public static java.lang.String getShortString(java.nio.ByteBuffer buf, int offset)
public static int putShortString(java.nio.charset.Charset charset, java.nio.ByteBuffer buf, java.lang.String value)
public static java.lang.String getShortString(java.nio.charset.Charset charset, java.nio.ByteBuffer buf, int offset)
public static int putLongString(java.nio.ByteBuffer buf, java.lang.String value)
public static java.lang.String getLongString(java.nio.ByteBuffer buf, int offset)
public static int putLongString(java.nio.charset.Charset charset, java.nio.ByteBuffer buf, java.lang.String value)
public static java.lang.String getLongString(java.nio.charset.Charset charset, java.nio.ByteBuffer buf, int offset)
private static java.lang.String extractString(java.nio.charset.Charset charset, java.nio.ByteBuffer buf, int offset, int length, int sizeOfSize)