
public class Tools extends Object
| Constructor and Description |
|---|
Tools() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBoolean(ByteBuffer data)
Gets a PLC BOOL value from a byte buffer and converts it to a boolean value.
|
static void |
putBoolean(ByteBuffer data,
boolean b)
Appends to a byte buffer the PLC BOOL value equivalent to a Java boolean.
|
public static boolean getBoolean(ByteBuffer data)
data - Holds the data.public static void putBoolean(ByteBuffer data, boolean b)
data - Holds the data.b - The boolean value to convert and append.Copyright © 2019 LSST. All rights reserved.