load method

dynamic load(
  1. Pointer<NativeType> fhe,
  2. Pointer<Uint8> serialData,
  3. int serialSize
)

Loads a key from a byte array

serialized is the byte array containing the key of size validates new key with library during creation.

Implementation

load(Pointer fhe, Pointer<Uint8> serialData, int serialSize) {
  obj = _c_load_key(type, fhe, serialData, serialSize);
  raiseForStatus();
}