getCount method

int getCount()

Gets the number of elements in the Extension object.

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

Implementation

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