Fixed width Binary File
Posted: Tue Jan 17, 2006 5:35 am
Hi All,
Does anybody knows how to create Fixed width Binary file.
For eg.Input Column has Datatype Long Int which is of size 4 bytes and the output has to be stored using 4 Bytes memory space only.Similar to Fwrite() function in C.
Similary a short int should be stored in 2 Bytes Memory space and a char Array [N] should be stored in N bytes of memory space.
Regards,
Narendra.
Does anybody knows how to create Fixed width Binary file.
For eg.Input Column has Datatype Long Int which is of size 4 bytes and the output has to be stored using 4 Bytes memory space only.Similar to Fwrite() function in C.
Similary a short int should be stored in 2 Bytes Memory space and a char Array [N] should be stored in N bytes of memory space.
Regards,
Narendra.