I have some issues with the understanding of how it is possible to use a the 128 bit Decimal Type on my 64 bit computer. Somehow the logic doesn't seem to come to me. Can someone please explain how this is possible? Thank You.
It's not a type directly supported with processor instructions dedicated to it. You can look at its source[^] to see how it works (does not include the source of some math operations and so on, but shows their function names).
Might help if you wrote your own class to do infinite digit integer handling. So you want a class that can take a 50 digit integer and add a different 50 digit integer to it. Each class instance represents a single number. So the add operation would look like the following.
MyInt op1 = new MyInt("1000....001");
MyInt op2 = new MyInt("9000....019");
MyInt result = op1.add(op2);
I did write to them, they said that the template is saved in RAM. So I do I retrieve it from the RAM buffer and save to database or file. If you have any idea please let me know.
Hoping to hear from you.
How is it stored in RAM, do you have its address and length, do you know where it must be placed for your application to work properly? After all data in RAM is just a collection of bytes, easy to write to a file or save in a database, just the same as any other known piece of information.
@Richardd. Please am really grateful for your assistance, the fingerprint template is a byte array, and 400 in size.
Any c# code to save such an information to a file or database will be very helpful. This is all I need to finish my project.
Thanks so Much.
Use File.WriteAllBytes()[^] to write, and File.ReadAllBytes()[^] to read. Note, this is a simple-minded write and read and assumes the data is just a bunch of bytes that can be read back and reused without any special processing.
Thanks for your reply. I wrote it to a text file. Now converting this cryptic byte to a form that I can save in a database is the challenge am facing as am writing this this to you.
I will appreciate if you can still help.
It is not really possible to tell if it's encrypted since, if it is done properly, there is not information in the file about the encryption method or keys. And a file is just a stream of bytes, so an encrypted file looks just the same as an unencrypted one.