FingerTemplate.fromBuffer Method¶
Module: FingerTemplate
Definition¶
Imports the finger template object from a buffer.
@staticmethod
from_buffer(format: FingerTemplateFormat, data: bytearray) -> FingerTemplate
Parameters
format
FingerTemplateFormatin Finger template buffer type to import the finger template object from.data
bytearrayin 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
format
FingerTemplateFormatin Finger template buffer type to import the finger template object from.data
Uint8Listin 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
format
FingerTemplateFormatin 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
format
FingerTemplateFormatin 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
format
FingerTemplateFormatin 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_TEMPLATEin Handle to the FingerTemplate object.eFormat
id3FingerTemplateFormatin Finger template buffer type to import the finger template object from.data
unsigned char *in Buffer to import the finger template object from.dataSize
intin Size of the ‘data’ buffer.
Returns