org.das2.stream
Class DataTransferType
java.lang.Object
org.das2.stream.DataTransferType
public class DataTransferType
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SUN_REAL4
public static final DataTransferType SUN_REAL4
SUN_REAL8
public static final DataTransferType SUN_REAL8
LITTLE_ENDIAN_REAL4
public static final DataTransferType LITTLE_ENDIAN_REAL4
LITTLE_ENDIAN_REAL8
public static final DataTransferType LITTLE_ENDIAN_REAL8
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getSizeBytes
public int getSizeBytes()
getByName
public static DataTransferType getByName(java.lang.String name)
isAscii
public boolean isAscii()
- If type terminates a line, then use \n to delineate
read
public double read(java.nio.ByteBuffer buffer)
write
public void write(double d,
java.nio.ByteBuffer buffer)