SealdEncryptionSessionArray_Get method

Pointer<NativeSealdEncryptionSession> SealdEncryptionSessionArray_Get(
  1. Pointer<NativeSealdEncryptionSessionArray> array,
  2. int i
)

SealdEncryptionSessionArray_Get returns the encryption session at position i. The caller is responsible for calling SealdEncryptionSession_Free on the returned SealdEncryptionSession* when no longer necessary.

@param array The SealdEncryptionSessionArray from which to retrieve the encryption session. @param i The position from which we want to retrieve the encryption session. @return The SealdConnector instance at position i.

Implementation

ffi.Pointer<NativeSealdEncryptionSession> SealdEncryptionSessionArray_Get(
  ffi.Pointer<NativeSealdEncryptionSessionArray> array,
  int i,
) {
  return _SealdEncryptionSessionArray_Get(
    array,
    i,
  );
}