Interface StoredDataCodec

All Known Implementing Classes:
StoredDataCodec.NoOpStoredDataCodec

public interface StoredDataCodec
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final StoredDataCodec
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    decode(byte[] data)
    Performs decoding of given data (that was previously encoded with this codec)
    byte[]
    encode(byte[] data)
    Performs encoding of given data
  • Field Details

  • Method Details

    • encode

      byte[] encode(byte[] data)
      Performs encoding of given data
      Parameters:
      data - data to be encoded
      Returns:
      returns data encoded based on internal implementation
    • decode

      byte[] decode(byte[] data)
      Performs decoding of given data (that was previously encoded with this codec)
      Parameters:
      data - data to be decoded
      Returns:
      returns data decoded based on internal implementation