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