Class ComparableIntArrayCodec
java.lang.Object
io.datarouter.bytes.codec.array.intarray.ComparableIntArrayCodec
public class ComparableIntArrayCodec extends Object
-
Field Summary
Fields Modifier and Type Field Description static ComparableIntArrayCodecINSTANCE -
Constructor Summary
Constructors Constructor Description ComparableIntArrayCodec() -
Method Summary
Modifier and Type Method Description int[]decode(byte[] bytes)int[]decode(byte[] bytes, int offset, int bytesLength)byte[]encode(int[] values)intencode(int[] values, byte[] bytes, int offset)intitemLength()
-
Field Details
-
Constructor Details
-
ComparableIntArrayCodec
public ComparableIntArrayCodec()
-
-
Method Details
-
itemLength
public int itemLength() -
encode
public byte[] encode(int[] values) -
encode
public int encode(int[] values, byte[] bytes, int offset) -
decode
public int[] decode(byte[] bytes) -
decode
public int[] decode(byte[] bytes, int offset, int bytesLength)
-