FingerTemplate.fromBuffer Method

Module: FingerTemplate

Definition

Imports the finger template object from a buffer.

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

Parameters

in Finger template buffer type to import the finger template object from.

data bytearray
in Buffer to import the finger template object from.

Returns

The newly created finger template.

Exceptions

An error has occurred during Finger Library execution.
static FingerTemplate fromBuffer(FingerTemplateFormat format, Uint8List? data)

Parameters

in Finger template buffer type to import the finger template object from.

data Uint8List
in Buffer to import the finger template object from.

Returns

The newly created finger template.

Exceptions

An error has occurred during Finger Library execution.
public static FingerTemplate FromBuffer(FingerTemplateFormat format, byte[] data)

Parameters

in Finger template buffer type to import the finger template object from.

data byte[]
in Buffer to import the finger template object from.

Returns

The newly created finger template.

Exceptions

An error has occurred during Finger Library execution.
public static FingerTemplate fromBuffer(FingerTemplateFormat format, byte[] data) throws FingerException

Parameters

in Finger template buffer type to import the finger template object from.

data byte[]
in Buffer to import the finger template object from.

Returns

The newly created finger template.

Exceptions

An error has occurred during Finger Library execution.
public static func fromBuffer(format: FingerTemplateFormat, data: [UInt8]) throws -> FingerTemplate

Parameters

in Finger template buffer type to import the finger template object from.

data [UInt8]
in Buffer to import the finger template object from.

Returns

The newly created finger template.

Exceptions

An error has occurred during Finger Library execution.
int id3FingerTemplate_FromBuffer (
    ID3_FINGER_TEMPLATE hFingerTemplate,
    id3FingerTemplateFormat eFormat,
    unsigned char * data,
    int dataSize)

Parameters

hFingerTemplate ID3_FINGER_TEMPLATE
in Handle to the FingerTemplate object.

in Finger template buffer type to import the finger template object from.

data unsigned char *
in Buffer to import the finger template 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.