Class DefaultDecoder

java.lang.Object
org.apache.kafka.tools.api.DefaultDecoder
All Implemented Interfaces:
Decoder<byte[]>

public class DefaultDecoder extends Object implements Decoder<byte[]>
The default implementation does nothing, just returns the same byte array it takes in.
  • Constructor Details Link icon

    • DefaultDecoder Link icon

      public DefaultDecoder()
  • Method Details Link icon

    • fromBytes Link icon

      public byte[] fromBytes(byte[] bytes)
      Specified by:
      fromBytes in interface Decoder<byte[]>