mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 14:28:25 +08:00
Use ToBitArray overload with length in ParseBytes
This commit is contained in:
@@ -145,7 +145,7 @@ namespace S7.Net
|
||||
}
|
||||
else
|
||||
{
|
||||
return Bit.ToBitArray(bytes);
|
||||
return Bit.ToBitArray(bytes, varCount);
|
||||
}
|
||||
case VarType.DateTime:
|
||||
if (varCount == 1)
|
||||
|
||||
Reference in New Issue
Block a user