@thruputchain/client
    Preparing search index...

    Interface ContractCodec<T>

    Complete-input codec used by generated contract descriptors.

    interface ContractCodec<T> {
        decode(data: Uint8Array): T;
        encode(value: T): Uint8Array;
    }

    Type Parameters

    • T
    Index

    Methods

    Methods

    • Parameters

      • data: Uint8Array

      Returns T

    • Parameters

      • value: T

      Returns Uint8Array