Is there a way to store some values in a binary file as C# does?
For example in C# it would be:
BinaryWriter bw = new BinaryWriter(MyFilStream);
bw.Write(data...);
And then, to read it like
BinaryReader br = new bla bla...;
br.ReadInt(file);
Is there a way to do this in Java? I'm Reading a lot of binary reading in Google, but I just find something of a JPG file, don't get it...
Serializable,ObjectInputStreamandObjectOutputStream.DataOutputStream.