Interface ContractReader<T>

Type Parameters:
T - contracts type
All Known Subinterfaces:
ContractConverter<T>

public interface ContractReader<T>
Defines how to read converted contracts from a byte array representation back to contracts.
Since:
3.0.0
Author:
Marcin Grzejszczak
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    read(byte[] bytes)
    Reads contracts from bytes.
  • Method Details

    • read

      default T read(byte[] bytes)
      Reads contracts from bytes.
      Parameters:
      bytes - - byte representation of contracts
      Returns:
      contracts