2using System.Collections.Generic;
22 byte qualityThreshold,
byte[] templateData)
68 var data =
new List<byte>
77 return data.ToArray();
85 short length =
Message.ConvertBytesToShort(data.Slice(4, 2),
true);
92 data.Slice(6, length).ToArray());
A base message class for sending or replying.
Contains standard Security Control Block data that can be used when building messages.
static BiometricTemplateData ParseData(ReadOnlySpan< byte > data)
Parses the message payload bytes.
byte[] TemplateData
Gets the biometric template data.
override byte[] BuildData()
BiometricType BiometricType
Gets the type/body part to scan.
BiometricTemplateData(byte readerNumber, BiometricType biometricType, BiometricFormat biometricFormatType, byte qualityThreshold, byte[] templateData)
Initializes a new instance of the BiometricTemplateData class.
BiometricFormat BiometricFormatType
Gets the format of the attached template.
byte ReaderNumber
Gets the reader number starting at 0.
override ReadOnlySpan< byte > SecurityControlBlock()
byte QualityThreshold
Gets the threshold required for accepting biometric match.
override CommandType CommandType
Base class representing a payload of a PD command message.
BiometricFormat
Format of data to be scanned.