getCount method

int getCount()

Gets the number of elements in the Log object.

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

Implementation

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