Question
November 15, 2007 at 04:19 AM
gjsonke

Reading Java Bytecode in C#

by gjsonke . Updated 18 years, 11 months ago

Hi,

For my work I need to read up a bin file made in Java (thus in Java bytecode). I luckily know what I have to read and read up de bytes 4 by 4. The trick seems to work. The header info corresponds with what the original reader finds. Thereafter comes a pile of floats. Unfortunately I have a feeling that I am reading the floats wrong. So my question is, is a Java float the same as C#, when expressed in bytes?

Cheers – Gj

This discussion is locked

All Comments