Class NoCodec

java.lang.Object
org.nuxeo.lib.stream.codec.NoCodec
All Implemented Interfaces:
Codec

public class NoCodec extends Object implements Codec
Special no operation codec, can be used as marker.
Since:
10.2
  • Field Details

  • Constructor Details

    • NoCodec

      public NoCodec()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Codec
      Returns the codec name
      Specified by:
      getName in interface Codec
    • encode

      public byte[] encode(Object object)
      Description copied from interface: Codec
      Encodes the object returns a byte array representation.
      Specified by:
      encode in interface Codec
    • decode

      public Object decode(byte[] data)
      Description copied from interface: Codec
      Decodes the byte array returns an object.
      Specified by:
      decode in interface Codec