how to read long[] from data input stream ?

From: Jimmy Zhang (crackeur_at_comcast.net)
Date: 10/31/03


Date: Fri, 31 Oct 2003 09:22:27 GMT

I am looking for ways to read data into a long array from data input stream
directly. I feel that wrapping Fileinputstream
using DataInputStream filter is kinda inefficient, if there is a way to let
the datainputstream to arrange 8 bytes into a long directly, it wouild be
really nice.

Any suggestions on how to realize this?

Thanks,
Jimmy