K
kvnsmnsn
I'm writing a Java program that needs to store <byte> values in a file
and another program that needs to read those <byte> values from such
files quickly. The second program also needs to be able to write
16-bit unsigned values to another file quickly and read those 16-bit
values from such files quickly.
After looking at a few types I've come to the conclusion that <char>
values would be a good match for my 16-bit unsigned values. So is
there a way in Java to read and write <byte> values to disk quickly,
and to read and write <char> values to disk quickly? Any information
on this would be greatly appreciated.
---Kevin Simonson
"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_
and another program that needs to read those <byte> values from such
files quickly. The second program also needs to be able to write
16-bit unsigned values to another file quickly and read those 16-bit
values from such files quickly.
After looking at a few types I've come to the conclusion that <char>
values would be a good match for my 16-bit unsigned values. So is
there a way in Java to read and write <byte> values to disk quickly,
and to read and write <char> values to disk quickly? Any information
on this would be greatly appreciated.
---Kevin Simonson
"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_