com.darwinsys.io
Class DataIO

java.lang.Object
  extended by com.darwinsys.io.DataIO

public class DataIO
extends java.lang.Object

Some I-O primitives for datastreams. All methods are static, since there is no state.

Version:
$Id: DataIO.java,v 1.3 2004/03/07 17:14:57 ian Exp $

Method Summary
static long readUnsignedInt(java.io.DataInput is)
          Read an unsigned int from a DataInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readUnsignedInt

public static long readUnsignedInt(java.io.DataInput is)
                            throws java.io.IOException
Read an unsigned int from a DataInput

Parameters:
is - DataInput (DataInputStream, RandomAccessFile, etc).
Returns:
long, to hold an unsigned int.
Throws:
java.io.IOException


Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.