Lecture d'un fichier binaire écrit en java
Bonjour
J'ai des fichiers écrit en java :
La structure écrite en JAVA :
Code:
1 2 3 4 5 6 7 8
| public void toBytes(byte[] buff, int off) {
off = putLong(buff, off, time);
off = putDouble(buff, off, open);
off = putDouble(buff, off, close);
off = putDouble(buff, off, low);
off = putDouble(buff, off, high);
putDouble(buff, off, vol);
} |
Quand je lis en Delphi avec : int64,Double,Double,Double,Double,Double j'ai n'importe quoi.
L'ordre des octets ne dois pas être les mêmes.
Quelqu'un a t'il une idée
Merci
PHIL