public class Wire extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getUInt16(byte[] bytes) |
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 byte[] |
putUInt16(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 byte[] putUInt16(int value)
public static int getUInt32(ByteBuffer buf)
public static int getUInt32(Msg msg, int offset)
public static int getUInt32(ByteBuffer buf, int offset)
public static int getUInt32(byte[] bytes,
int offset)
public static byte[] putUInt32(int value)
public static ByteBuffer putUInt32(ByteBuffer buf, 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)
Copyright © 2017. All rights reserved.