Class Wire
java.lang.Object
zmq.util.Wire
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringextractString(Charset charset, ByteBuffer buf, int offset, int length, int sizeOfSize) static 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 longprivate static intgetUInt8(ByteBuffer buf, int offset) static 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) private static ByteBufferputUInt8(ByteBuffer buf, int value)
-
Constructor Details
-
Wire
private Wire()
-
-
Method Details
-
getUInt8
-
putUInt8
-
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
-
extractString
private static String extractString(Charset charset, ByteBuffer buf, int offset, int length, int sizeOfSize)
-