getCount method

int getCount()

Gets the number of elements in the ExtensionList object.

return Number of elements in the Extension object. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

int getCount() {
  Pointer<Int> pCount = calloc();
  try {
    var err = biosealSDK.id3BiosealExtensionList_GetCount(_pHandle.value, pCount);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vCount = pCount.value;
    return vCount;
  } finally {
    calloc.free(pCount);
  }
}