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