gcspy.comm
Class ArrayInput

java.lang.Object
  extended by gcspy.comm.ArrayInput

public class ArrayInput
extends java.lang.Object

Low-level input for ints and shorts from a byte array

Author:
Tony Printezis

Constructor Summary
ArrayInput()
           
 
Method Summary
static int readInt(byte[] buffer, int i)
          Read an int from a byte array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayInput

public ArrayInput()
Method Detail

readInt

public static int readInt(byte[] buffer,
                          int i)
Read an int from a byte array

Parameters:
buffer - the byte array
i - the starting index
Returns:
the int from this position in the input buffer