public static long readLong ( final InputStream inputStream , final byte [ ] buffer ) throws IOException { readFully ( inputStream , buffer , 8 ) ; return readLong ( buffer ) ; }
Reads and returns a single long value from the input stream .