Class Wire
java.lang.Object
zmq.util.Wire
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetLongString(ByteBuffer buf, int offset) static StringgetLongString(Charset charset, ByteBuffer buf, int offset) static StringgetShortString(ByteBuffer buf, int offset) static StringgetShortString(Charset charset, ByteBuffer buf, int offset) static intgetUInt16(byte[] bytes) static intgetUInt16(ByteBuffer buf, int offset) static intgetUInt32(byte[] bytes, int offset) static intgetUInt32(ByteBuffer buf) static intgetUInt32(ByteBuffer buf, int offset) static intstatic longgetUInt64(ByteBuffer buf, int offset) static longstatic intputLongString(ByteBuffer buf, String value) static intputLongString(Charset charset, ByteBuffer buf, String value) static intputShortString(ByteBuffer buf, String value) static intputShortString(Charset charset, ByteBuffer buf, String value) static byte[]putUInt16(int value) static ByteBufferputUInt16(ByteBuffer buf, int value) static Msgstatic byte[]putUInt32(int value) static ByteBufferputUInt32(ByteBuffer buf, int value) static Msgstatic ByteBufferputUInt64(ByteBuffer buf, long value)
-
Method Details
-
getUInt16
public static int getUInt16(byte[] bytes) -
getUInt16
-
putUInt16
public static byte[] putUInt16(int value) -
putUInt16
-
putUInt16
-
getUInt32
-
getUInt32
-
getUInt32
-
getUInt32
public static int getUInt32(byte[] bytes, int offset) -
putUInt32
-
putUInt32
public static byte[] putUInt32(int value) -
putUInt32
-
putUInt64
-
getUInt64
-
getUInt64
-
putShortString
-
getShortString
-
putShortString
-
getShortString
-
putLongString
-
getLongString
-
putLongString
-
getLongString
-