diff --git a/HybirdFrameworkCore/Utils/BitUtls.cs b/HybirdFrameworkCore/Utils/BitUtls.cs index 74e8991..3207533 100644 --- a/HybirdFrameworkCore/Utils/BitUtls.cs +++ b/HybirdFrameworkCore/Utils/BitUtls.cs @@ -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)