FROST Core TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Interface Deserialize<T, C>

    Trait for types that can be deserialized from bytes.

    interface Deserialize<T, C extends Ciphersuite> {
        deserialize(ciphersuite: C, bytes: Uint8Array): T;
    }

    Type Parameters

    Index

    Methods

    Methods

    • Deserialize the struct from a slice of bytes.

      Parameters

      • ciphersuite: C
      • bytes: Uint8Array

      Returns T