What is the best way to do this.
Of course I want to read **(with the program, not by human)** it from an inputstream.
Do I have to use an ObjectOutputStream or are there better ways?
The purpose is to use as less bytes as possible.Thanks
The important question here is - do you want to be able to read this file only from your Java program or should the file format be open/portable/human readable?