org.das2.qds.buffer.TimeDataSet
Often we see where time is left decoded in binary streams, occupying ~21
bytes (ASCII characters) instead of 8 bytes to represent them as a double. This extension
allows this sort of data to be read in as well, making the data available
as Units.us2000.
TimeDataSet( int rank, int reclen, int recoffs, int len0, int len1, int len2, int len3, java.nio.ByteBuffer back, Object type )
Like the other constructors, but the type is needed as well to get the
number of bytes.
putValue
putValue( double d ) → void
Parameters
d - a double
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
putValue( int i0, double d ) → void
putValue( int i0, int i1, double d ) → void
putValue( int i0, int i1, int i2, double d ) → void
putValue( int i0, int i1, int i2, int i3, double d ) → void
setLengthBytes
setLengthBytes( int length ) → void
Parameters
length - an int
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
value
value( ) → double
Returns:
double
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
value( int i0 ) → double
value( int i0, int i1 ) → double
value( int i0, int i1, int i2 ) → double
value( int i0, int i1, int i2, int i3 ) → double