>Ed, I have a binary file and I know the field lenghts in the record. I have to convert binary fields to ASCII fields in a text file. I would like to read a binary record and convert it to a text ASCII record.
There are many different ways data can be stored in a binary file, any file stored on a disk is essentially a binary file, even if it is readable ASCII. To convert an binary file to ASCII, we really need to know more details of the file format.
Any examples of the format may be useful here - is the binary data numeric, are the numbers 2 bytes/4 bytes, are they stored low byte/high byte or vice-versa ?
PAul
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement