|
|
|
@ -53,7 +53,7 @@ public static class BitUtls
|
|
|
|
|
|
|
|
|
|
if (propertyType == STRING)
|
|
|
|
|
{
|
|
|
|
|
return Convert.ChangeType(BytesToHexStr(bytes, start, length), propertyType);
|
|
|
|
|
return Convert.ChangeType(Encoding.ASCII.GetString(bytes, start, length/8), propertyType);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (propertyType == BYTEARRAY)
|
|
|
|
|