Griaule Biometrics

Home » Forums » GRFINGER » GrFinger 4.1 (ARCHIVE) » Size of template.getData() greater than template.getSize()
No replies
felipeholandabr...
User offline. Last seen 1 year 21 weeks ago. Offline
Joined: 2008-10-21

Hi all,

template.getData() returns a byte array and its size is very much greater than the size obtained by template.getSize().

Even in our code, we use only a fixed number of bytes (specified by template.getSize()) from template.getData:

preparedStmt.setBinaryStream(1,new ByteArrayInputStream(template.getData()),template.getSize());

Why do we have this behavior and why cannot template.getData() just return a byte array with size specified by template.getSize()?

Thanks in advance,
Shiva