FingerTemplateRecord.toBuffer Method

Module: FingerTemplateRecord

Definition

Exports the finger template object to a buffer.

to_buffer(self, format: FingerTemplateFormat) -> bytearray

Parameters

in Finger template buffer type to export the finger template object to.

Returns

bytearray
Buffer to export the finger template object to.

Exceptions

An error has occurred during Finger Library execution.
Uint8List toBuffer(FingerTemplateFormat format)

Parameters

in Finger template buffer type to export the finger template object to.

Returns

Uint8List
Buffer to export the finger template object to.

Exceptions

An error has occurred during Finger Library execution.
public byte[] ToBuffer(FingerTemplateFormat format)

Parameters

in Finger template buffer type to export the finger template object to.

Returns

byte[]
Buffer to export the finger template object to.

Exceptions

An error has occurred during Finger Library execution.
public byte[] toBuffer(FingerTemplateFormat format) throws FingerException

Parameters

in Finger template buffer type to export the finger template object to.

Returns

byte[]
Buffer to export the finger template object to.

Exceptions

An error has occurred during Finger Library execution.
public func toBuffer(format: FingerTemplateFormat) throws -> [UInt8]

Parameters

in Finger template buffer type to export the finger template object to.

Returns

[UInt8]
Buffer to export the finger template object to.

Exceptions

An error has occurred during Finger Library execution.
int id3FingerTemplateRecord_ToBuffer (
    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 Finger template buffer type to export the finger template object to.

data unsigned char *
out Buffer to export the finger template object to.

dataSize int *
in Size of the ‘data’ buffer. Receives the number of elements in the ‘data’ array.

Returns

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