org.jmol.util

Class BinaryDocument

public class BinaryDocument extends Object

Field Summary
protected booleanisBigEndian
protected booleanisRandom
protected DataInputStreamstream
Constructor Summary
BinaryDocument()
Method Summary
bytereadByte()
voidreadByteArray(byte[] b)
voidreadByteArray(byte[] b, int off, int len)
floatreadFloat()
intreadInt()
intreadLEInt()
longreadLong()
voidreadPoint3fArray(Point3f[] data)
shortreadShort()
voidseek(long offset)
voidsetRandom(boolean TF)
voidsetStream(DataInputStream stream)

Field Detail

isBigEndian

protected boolean isBigEndian

isRandom

protected boolean isRandom

stream

protected DataInputStream stream

Constructor Detail

BinaryDocument

public BinaryDocument()

Method Detail

readByte

public byte readByte()

readByteArray

public void readByteArray(byte[] b)

readByteArray

public void readByteArray(byte[] b, int off, int len)

readFloat

public float readFloat()

readInt

public int readInt()

readLEInt

private int readLEInt()

readLong

public long readLong()

readPoint3fArray

public void readPoint3fArray(Point3f[] data)

readShort

public short readShort()

seek

public void seek(long offset)

setRandom

public void setRandom(boolean TF)

setStream

public void setStream(DataInputStream stream)