RegisterConverterToSBytes Method |
Pack an array of bits into an array of 8-bit signed bytes
Namespace:
FieldTalk.Modbus.Slave
Assembly:
FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntaxpublic static sbyte[] ToSBytes(
bool[] bits
)
Public Shared Function ToSBytes (
bits As Boolean()
) As SByte()
public:
static array<signed char>^ ToSBytes(
array<bool>^ bits
)
Parameters
- bits
- Type: SystemBoolean
Array with the bits
Return Value
Type:
SByteArray of bytes
See Also