ucar.nc2.iosp.fysat.util
Class EndianByteBuffer
java.lang.Object
ucar.nc2.iosp.fysat.util.EndianByteBuffer
public class EndianByteBuffer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LITTLE_ENDIAN
public static short LITTLE_ENDIAN
BIG_ENDIAN
public static short BIG_ENDIAN
EndianByteBuffer
public EndianByteBuffer(byte[] byteArray,
short endian)
EndianByteBuffer
public EndianByteBuffer(byte[] byteArray)
setEndian
public void setEndian(short endian)
getInt
public int getInt()
getShort
public short getShort()
getLong
public long getLong()
getFloat
public float getFloat()
getDouble
public double getDouble()
getString
public String getString(int byteCount)
getShortArray
public short[] getShortArray()
getLongArray
public long[] getLongArray()
getIntArray
public int[] getIntArray()
position
public final void position(int newPosition)
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.