Class ComparableShortArrayCodec

java.lang.Object
io.datarouter.bytes.codec.array.shortarray.ComparableShortArrayCodec

public class ComparableShortArrayCodec
extends Object
  • Field Details

  • Constructor Details

    • ComparableShortArrayCodec

      public ComparableShortArrayCodec()
  • Method Details

    • itemLength

      public int itemLength()
    • encode

      public byte[] encode​(short[] values)
    • encode

      public int encode​(short[] values, byte[] bytes, int offset)
    • decode

      public short[] decode​(byte[] bytes)
    • decode

      public short[] decode​(byte[] bytes, int offset, int bytesLength)