FingerTemplateRecord.fromBuffer Method

Module: FingerTemplateRecord

Definition

Imports the finger template record object from a buffer.

@staticmethod
from_buffer(format: FingerTemplateFormat, data: bytearray) -> FingerTemplateRecord

Parameters

in Fingerprint template buffer type to import the finger template record object from.

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

Parameters

in Fingerprint template buffer type to import the finger template record object from.

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

Parameters

in 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

in 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

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

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

Returns

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