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