Class RawLongListCodec

java.lang.Object
io.datarouter.bytes.codec.list.longlist.RawLongListCodec
All Implemented Interfaces:
Codec<List<Long>,byte[]>

public class RawLongListCodec extends Object implements Codec<List<Long>,byte[]>
  • Field Details

  • Constructor Details

    • RawLongListCodec

      public RawLongListCodec()
  • Method Details

    • encode

      public byte[] encode(List<Long> values)
      Specified by:
      encode in interface Codec<List<Long>,byte[]>
    • encode

      public int encode(List<Long> values, byte[] bytes, int offset)
    • decode

      public List<Long> decode(byte[] bytes)
      Specified by:
      decode in interface Codec<List<Long>,byte[]>
    • decode

      public List<Long> decode(byte[] bytes, int offset, int bytesLength)