The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

binary inputs

Posted by Divya on January 30, 2002 at 5:18 PM

> How to read binary inputs in Java (not necessarily terminating with \n) ?

Hi,
you can either use RandomAccessFile or DataInputStream classes to read binary input as they implement DataInput interface which provides for reading bytes from a binary stream

cheers,
Divya





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us