FingerTemplateRecord.fromBuffer Method¶
Module: FingerTemplateRecord
Definition¶
Imports the finger template record object from a buffer.
@staticmethod
from_buffer(format: FingerTemplateFormat, data: bytearray) -> FingerTemplateRecord
Parameters
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.data
bytearrayin Buffer to import the finger template record object from.
Returns
The newly created finger template record.
Exceptions
An error has occurred during Finger Library execution.
static FingerTemplateRecord fromBuffer(FingerTemplateFormat format, Uint8List? data)
Parameters
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.data
Uint8Listin Buffer to import the finger template record object from.
Returns
The newly created finger template record.
Exceptions
An error has occurred during Finger Library execution.
public static FingerTemplateRecord FromBuffer(FingerTemplateFormat format, byte[] data)
Parameters
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.data
byte[]in Buffer to import the finger template record object from.
Returns
The newly created finger template record.
Exceptions
An error has occurred during Finger Library execution.
public static FingerTemplateRecord fromBuffer(FingerTemplateFormat format, byte[] data) throws FingerException
Parameters
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.data
byte[]in Buffer to import the finger template record object from.
Returns
The newly created finger template record.
Exceptions
An error has occurred during Finger Library execution.
public static func fromBuffer(format: FingerTemplateFormat, data: [UInt8]) throws -> FingerTemplateRecord
Parameters
format
FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.data
[UInt8]in Buffer to import the finger template record object from.
Returns
The newly created finger template record.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerTemplateRecord_FromBuffer (
ID3_FINGER_TEMPLATE_RECORD hFingerTemplateRecord,
id3FingerTemplateFormat eFormat,
unsigned char * data,
int dataSize)
Parameters
hFingerTemplateRecord
ID3_FINGER_TEMPLATE_RECORDin Handle to the FingerTemplateRecord object.eFormat
id3FingerTemplateFormatin Fingerprint template buffer type to import the finger template record object from.data
unsigned char *in Buffer to import the finger template record object from.dataSize
intin Size of the ‘data’ buffer.
Returns