public class AsciiTimeTransferType extends AsciiTransferType
logger
Constructor and Description |
---|
AsciiTimeTransferType(int sizeBytes,
Units units)
create the ISO8601 transfer type.
|
Modifier and Type | Method and Description |
---|---|
static TransferType |
getByName(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> properties) |
java.lang.String |
name()
return a string identifying the TransferType.
|
double |
read(java.nio.ByteBuffer buffer)
read the data from the buffer.
|
void |
write(double d,
java.nio.ByteBuffer buffer)
write the data to the buffer.
|
isAscii, sizeBytes
allocate, getForName, toString
public AsciiTimeTransferType(int sizeBytes, Units units)
sizeBytes
- units
- public void write(double d, java.nio.ByteBuffer buffer)
TransferType
write
in class AsciiTransferType
d
- the value to write.buffer
- the byte buffer positioned to receive sizeByte bytes.public double read(java.nio.ByteBuffer buffer)
TransferType
read
in class AsciiTransferType
buffer
- the container for the transfer type.public static TransferType getByName(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> properties)
public java.lang.String name()
TransferType
name
in class AsciiTransferType