Class TerminatedByteArrayCodec

java.lang.Object
io.datarouter.bytes.codec.array.bytearray.TerminatedByteArrayCodec

public class TerminatedByteArrayCodec extends Object
  • Field Details

  • Constructor Details

    • TerminatedByteArrayCodec

      public TerminatedByteArrayCodec()
  • Method Details

    • encode

      public byte[] encode(byte[] value)
    • decode

      public LengthAndValue<byte[]> decode(byte[] bytes, int offset)
    • lengthWithTerminalIndex

      public int lengthWithTerminalIndex(byte[] bytes, int offset)