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 Detail

      • read

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