edu.sc.seis.seisFile.gcf
Class SerialTransportHeader
java.lang.Object
edu.sc.seis.seisFile.gcf.SerialTransportHeader
public class SerialTransportHeader
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ASCII_G
public static final int ASCII_G
- See Also:
- Constant Field Values
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
SerialTransportHeader
public SerialTransportHeader(int blockSeqNum,
int blockSize)
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
fromBytes
public static SerialTransportHeader fromBytes(byte[] data,
int offset)
throws GCFFormatException
- Throws:
GCFFormatException
toBytes
public byte[] toBytes()
getBlockSeqNum
public int getBlockSeqNum()
getBlockSize
public int getBlockSize()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object