FingerImageRecord.fromBuffer Method

Module: FingerImageRecord

Definition

Creates a FingerImageRecord from a buffer.

@staticmethod
from_buffer(format: FingerImageRecordFormat, data: bytearray) -> FingerImageRecord

Parameters

in Finger image record format to import the finger image record object from.

data bytearray
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.
static FingerImageRecord fromBuffer(FingerImageRecordFormat format, Uint8List? data)

Parameters

in Finger image record format to import the finger image record object from.

data Uint8List
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)

Parameters

in 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

in 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

in 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_RECORD
in Handle to the FingerImageRecord object.

in 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 int
in Size of the ‘data’ buffer.

Returns

int
An error code.
See id3FingerError file for the list of possible error codes.