FingerImageRecord.fromBuffer Method¶
Module: FingerImageRecord
Definition¶
Creates a FingerImageRecord from a buffer.
@staticmethod
from_buffer(format: FingerImageRecordFormat, data: bytearray) -> FingerImageRecord
Parameters
formatFingerImageRecordFormatin Finger image record format to import the finger image record object from.databytearrayin 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
formatFingerImageRecordFormatin Finger image record format to import the finger image record object from.dataUint8Listin 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
formatFingerImageRecordFormatin Finger image record format to import the finger image record object from.databyte[]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
formatFingerImageRecordFormatin Finger image record format to import the finger image record object from.databyte[]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
formatFingerImageRecordFormatin 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
hFingerImageRecordID3_FINGER_IMAGE_RECORDin Handle to the FingerImageRecord object.eFormatid3FingerImageRecordFormatin Finger image record format to import the finger image record object from.dataunsigned char *in Buffer to import the finger image record object from.dataSizeintin Size of the ‘data’ buffer.
Returns