[fprint] conversin of fprint data to store in database
Alexander Eichert
loeghaire at googlemail.com
Tue Jan 13 19:43:34 GMT 2009
Hi Daniel,
thanks for your fast answer.
I will print now the converted fingerprintdata char by char:
for (i=0;i<bufferlength;i++) {
printf("%c",data_buffer[i]);
}
2009/1/9 Daniel Drake <dan at reactivated.net>
> Alexander Eichert wrote:
>
>> When I enroll a fingerprint, the function "fp_print_data_get_data" returns
>> every time a bufferlength of 2414 Byte.
>> But when I insert this converted fingerprint in the database, there will
>> only be a string with max. 9 Byte (this is calculated in the
>> verify-program).
>>
>
> It is not a string. You are assuming it ends at the first NULL byte - it
> does not. It ends after 2414 bytes (or whatever fp_print_data_get_data
> returns).
>
> Daniel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.reactivated.net/pipermail/fprint/attachments/20090113/3169efb8/attachment.html
More information about the fprint
mailing list