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

    • DefaultDecoder

      public DefaultDecoder()
  • Method Details

    • fromBytes

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