FingerImageRecord.fromBuffer Method¶
Module: FingerImageRecord
Definition¶
Creates a FingerImageRecord from a buffer.
@staticmethod
from_buffer(format: FingerImageRecordFormat, data: bytearray) -> FingerImageRecord
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record object from.data
bytearrayin Buffer to import the finger image record object from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
static FingerImageRecord fromBuffer(FingerImageRecordFormat format, Uint8List? data)
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record object from.data
Uint8Listin Buffer to import the finger image record object from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
public static FingerImageRecord FromBuffer(FingerImageRecordFormat format, byte[] data)
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record object from.data
byte[]in Buffer to import the finger image record object from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
public static FingerImageRecord fromBuffer(FingerImageRecordFormat format, byte[] data) throws FingerException
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record object from.data
byte[]in Buffer to import the finger image record object from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
public static func fromBuffer(format: FingerImageRecordFormat, data: [UInt8]) throws -> FingerImageRecord
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record object from.data
[UInt8]in Buffer to import the finger image record object from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerImageRecord_FromBuffer (
ID3_FINGER_IMAGE_RECORD hFingerImageRecord,
id3FingerImageRecordFormat eFormat,
unsigned char * data,
int dataSize)
Parameters
hFingerImageRecord
ID3_FINGER_IMAGE_RECORDin Handle to the FingerImageRecord object.eFormat
id3FingerImageRecordFormatin Finger image record format to import the finger image record object from.data
unsigned char *in Buffer to import the finger image record object from.dataSize
intin Size of the ‘data’ buffer.
Returns