Always say the TRUTH only
apigee, a better way to API!
Always say the TRUTH only
apigee, a better way to API!
Always say the TRUTH only
Address | No. of bytes
----------------------
apigee, a better way to API!
Originally posted by Nitesh Kant:
How do you represnt an image file (as you specified a BMP file) as a struct? How is the encoding of the binary file specifically an image file handled?
I am pretty skeptical about one function in c handling all the type/formats of files without any special handling.
Always say the TRUTH only
Originally posted by Ulf Dittmer:
Your skepticism is misplaced![]()
apigee, a better way to API!
Always say the TRUTH only
"I'm not back." - Bill Harding, Twister
The point is, if any kind of file (be it a .BMP, .ZIP, .ico or any file whose format I already know) I want to read/write at low level then how to do?
Dittmer seems to know exactly what I should do but is not willing to take that effort for me only (I surprised to know that I am the only person having such a query!). But if he could write such a code then so many of my friends and acquaintances will be benefitted from it.
I can ofcourse read/write such a file, but only one data type at a time. So, various formats the code for reading/writing the fill will be different and I don't want that. I only want to write a method what will read/write a file's format (or data) depending upon the structure (instance or a class for Java) passed through it.
Always say the TRUTH only
I just want to know that whether Java already has such a function as fread()?
If not then can I create such a function in Java? If yes then how?
Originally posted by Prosenjit Banerjee:
Dittmer seems to know exactly what I should do but is not willing to take that effort for me only
Originally posted by Prosenjit Banerjee:
(I surprised to know that I am the only person having such a query!).
Originally posted by Prosenjit Banerjee:
I can ofcourse read/write such a file, but only one data type at a time. So, various formats the code for reading/writing the fill will be different and I don't want that. I only want to write a method what will read/write a file's format (or data) depending upon the structure (instance or a class for Java) passed through it.
The elements in the array returned are not sorted and are not in any particular order.
apigee, a better way to API!
Originally posted by Nitesh Kant:
Why will someone write the code for you in here? We are here to help people and give them directions and not to do their work.
Always say the TRUTH only
"I'm not back." - Bill Harding, Twister