.. index:: 
  !BiosealLicense.checkLicenseBuffer Method
  
.. _id3_bioseal_bioseal_license_check_license_buffer_class_method:

===============================================================================
BiosealLicense.checkLicenseBuffer Method
===============================================================================

Module: :ref:`BiosealLicense<id3_bioseal_bioseal_license_class>`

Definition
----------

Checks a license from a buffer.

This function does two things:

- First it loads the license from a buffer

- Then it checks the validity of the license regarding the host it is called on (Windows, Linux, Android ...)

.. important:: Calling one of the license checking function is required to get access to all the license member getters.

.. note:: The optional parameter is required on Android and must be the JNIEnv* pointer casted as a void*. It can be set as NULL for other devices.


.. code:: Dart

    static void checkLicenseBuffer(Uint8List? licenseData)

**Parameters**

.. line-block::

    ``licenseData`` Uint8List
    :guilabel:`in` A buffer containing the license file data.


**Exceptions**

.. line-block::

    :ref:`BiosealException<id3_bioseal_bioseal_exception>`
    An error has occurred during Bioseal Library execution.



