RegisterConverterToByte Method |
Unpack 8 boolean values into an unsigned byte
Namespace:
FieldTalk.Modbus.Slave
Assembly:
FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntaxpublic static byte ToByte(
bool[] values
)
Public Shared Function ToByte (
values As Boolean()
) As Byte
public:
static unsigned char ToByte(
array<bool>^ values
)
Parameters
- values
- Type: SystemBoolean
Array with bit values, Length
must be 8
Return Value
Type:
ByteByte value
See Also