Class ByteArrayEncoding

java.lang.Object
org.apache.activemq.artemis.core.journal.impl.dataformat.ByteArrayEncoding
All Implemented Interfaces:
EncodingSupport

public class ByteArrayEncoding extends Object implements EncodingSupport
  • Constructor Details

    • ByteArrayEncoding

      public ByteArrayEncoding(byte[] data)
  • Method Details

    • decode

      public void decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
      Specified by:
      decode in interface EncodingSupport
    • encode

      public void encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
      Specified by:
      encode in interface EncodingSupport
    • getEncodeSize

      public int getEncodeSize()
      Specified by:
      getEncodeSize in interface EncodingSupport