public class AsciiHexIntegerTransferType extends AsciiIntegerTransferType
logger| Constructor and Description |
|---|
AsciiHexIntegerTransferType(int sizeBytes) |
| Modifier and Type | Method and Description |
|---|---|
static TransferType |
getByName(java.lang.String ttype,
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 double read(java.nio.ByteBuffer buffer)
TransferTyperead in class AsciiTransferTypebuffer - the container for the transfer type.public void write(double d,
java.nio.ByteBuffer buffer)
TransferTypewrite in class AsciiIntegerTransferTyped - the value to write.buffer - the byte buffer positioned to receive sizeByte bytes.public static TransferType getByName(java.lang.String ttype, java.util.Map<java.lang.String,java.lang.Object> properties)
public java.lang.String name()
TransferTypename in class AsciiTransferType