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, sizeBytesallocate, getForName, toStringpublic AsciiTimeTransferType(int sizeBytes,
Units units)
sizeBytes - units - public void write(double d,
java.nio.ByteBuffer buffer)
TransferTypewrite in class AsciiTransferTyped - the value to write.buffer - the byte buffer positioned to receive sizeByte bytes.public double read(java.nio.ByteBuffer buffer)
TransferTyperead in class AsciiTransferTypebuffer - 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()
TransferTypename in class AsciiTransferType