getFormat method

BiosealFormat getFormat()

Gets the the BioSeal format without prefix information.

return The BioSeal format without prefix information. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

BiosealFormat getFormat() {
  Pointer<Int32> pFormat = calloc();
  try {
    var err = biosealSDK.id3Bioseal_GetFormat(_pHandle.value, pFormat);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vFormat = BiosealFormatX.fromValue(pFormat.value);
    return vFormat;
  } finally {
    calloc.free(pFormat);
  }
}