Encode string bug修改

zw
lxw 5 months ago
parent 37dd5f1b5d
commit 2731fc99b7

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

@ -8,6 +8,7 @@
".NETCoreApp,Version=v6.0": {
"HybirdFrameworkCore/1.0.0": {
"dependencies": {
"AutoMapper": "12.0.1",
"Autofac": "7.0.1",
"Microsoft.Extensions.Configuration.Abstractions": "7.0.0",
"Microsoft.Extensions.Configuration.Json": "7.0.0",
@ -30,6 +31,17 @@
}
}
},
"AutoMapper/12.0.1": {
"dependencies": {
"Microsoft.CSharp": "4.7.0"
},
"runtime": {
"lib/netstandard2.1/AutoMapper.dll": {
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.0.1.0"
}
}
},
"log4net/2.0.15": {
"dependencies": {
"System.Configuration.ConfigurationManager": "4.5.0"
@ -41,6 +53,7 @@
}
}
},
"Microsoft.CSharp/4.7.0": {},
"Microsoft.Extensions.Configuration/7.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "7.0.0",
@ -283,6 +296,13 @@
"path": "autofac/7.0.1",
"hashPath": "autofac.7.0.1.nupkg.sha512"
},
"AutoMapper/12.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hvV62vl6Hp/WfQ24yzo3Co9+OPl8wH8hApwVtgWpiAynVJkUcs7xvehnSftawL8Pe8FrPffBRM3hwzLQqWDNjA==",
"path": "automapper/12.0.1",
"hashPath": "automapper.12.0.1.nupkg.sha512"
},
"log4net/2.0.15": {
"type": "package",
"serviceable": true,
@ -290,6 +310,13 @@
"path": "log4net/2.0.15",
"hashPath": "log4net.2.0.15.nupkg.sha512"
},
"Microsoft.CSharp/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==",
"path": "microsoft.csharp/4.7.0",
"hashPath": "microsoft.csharp.4.7.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration/7.0.0": {
"type": "package",
"serviceable": true,

Loading…
Cancel
Save