RegisterConverterToByte Method |
Unpack 8 boolean values into an unsigned byte
Namespace:
FieldTalk.Modbus.Master
Assembly:
FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
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