public class Wire extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getLongString(ByteBuffer buf,
int offset) |
static String |
getLongString(Charset charset,
ByteBuffer buf,
int offset) |
static String |
getShortString(ByteBuffer buf,
int offset) |
static String |
getShortString(Charset charset,
ByteBuffer buf,
int offset) |
static int |
getUInt16(byte[] bytes) |
static int |
getUInt16(ByteBuffer buf,
int offset) |
static int |
getUInt32(byte[] bytes,
int offset) |
static int |
getUInt32(ByteBuffer buf) |
static int |
getUInt32(ByteBuffer buf,
int offset) |
static int |
getUInt32(Msg msg,
int offset) |
static long |
getUInt64(ByteBuffer buf,
int offset) |
static long |
getUInt64(Msg msg,
int offset) |
static int |
putLongString(ByteBuffer buf,
String value) |
static int |
putLongString(Charset charset,
ByteBuffer buf,
String value) |
static int |
putShortString(ByteBuffer buf,
String value) |
static int |
putShortString(Charset charset,
ByteBuffer buf,
String value) |
static ByteBuffer |
putUInt16(ByteBuffer buf,
int value) |
static byte[] |
putUInt16(int value) |
static Msg |
putUInt16(Msg msg,
int value) |
static ByteBuffer |
putUInt32(ByteBuffer buf,
int value) |
static byte[] |
putUInt32(int value) |
static Msg |
putUInt32(Msg msg,
int value) |
static ByteBuffer |
putUInt64(ByteBuffer buf,
long value) |
public static int getUInt16(byte[] bytes)
public static int getUInt16(ByteBuffer buf, int offset)
public static byte[] putUInt16(int value)
public static ByteBuffer putUInt16(ByteBuffer buf, int value)
public static int getUInt32(ByteBuffer buf)
public static int getUInt32(ByteBuffer buf, int offset)
public static int getUInt32(Msg msg, int offset)
public static int getUInt32(byte[] bytes,
int offset)
public static ByteBuffer putUInt32(ByteBuffer buf, int value)
public static byte[] putUInt32(int value)
public static ByteBuffer putUInt64(ByteBuffer buf, long value)
public static long getUInt64(ByteBuffer buf, int offset)
public static long getUInt64(Msg msg, int offset)
public static int putShortString(ByteBuffer buf, String value)
public static String getShortString(ByteBuffer buf, int offset)
public static int putShortString(Charset charset, ByteBuffer buf, String value)
public static String getShortString(Charset charset, ByteBuffer buf, int offset)
public static int putLongString(ByteBuffer buf, String value)
public static String getLongString(ByteBuffer buf, int offset)
public static int putLongString(Charset charset, ByteBuffer buf, String value)
public static String getLongString(Charset charset, ByteBuffer buf, int offset)
Copyright © 2020. All rights reserved.