@wireapp/core-crypto
    Preparing search index...

    Class DatabaseKey

    The key used to encrypt the database.

    Hierarchy

    • UniffiAbstractObject
      • DatabaseKey
    Index

    Constructors

    • Construct a new instance from a byte vector.

      Parameters

      • key: ArrayBuffer

      Returns DatabaseKey

    Properties

    "[destructorGuardSymbol]": UniffiRustArcPtr
    "[pointerLiteralSymbol]": bigint
    "[uniffiTypeNameSymbol]": "DatabaseKey"

    Methods

    • Calls into the == method of DatabaseKey (the native Rust peer).

      Returns true if and only if the two instance of DatabaseKey are equivalent on the Rust side.

      Generated by deriving the Eq trait in Rust.

      Parameters

      Returns boolean

    • {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}

      Returns void

    • A convenience method to use this object, then destroy it after its use.

      Type Parameters

      • T

      Parameters

      • block: (obj: this) => T

      Returns T

    • Parameters

      • obj: any

      Returns obj is DatabaseKey