Closed xrcdev closed 1 year ago
Where did it go wrong? Did I use this great library incorrectly?
Hello,
I appreciate that you like my library. It looks like a bug in encoding and decoding UA strings in .NET that I hadn't ported back from .NET Core. I have pushed a fix to master for .NET and .NET Core. Please try now and let me know if it works.
If not, these are the methods to look at and debug:
https://github.com/nauful/LibUA/blob/c8e642d10b1f39543bc1487c8e0fa496ef743b17/NET%20Core/LibUA/MemoryBufferExtensions.cs#L2220
CodingSizeUAString
EncodeUAString
DecodeUAString
This perfectly solved the problem, thank you very much.
Read Tag:
I defined a dic
AduSentDic
,and add a NodeVariable to it , so I can use the NodeVariable by dic laterand I got the value by code
var processOrder = AduSentDic[nameof(aduS.ProcessOrder)].Value;
in the HandleWriteRequest method but the result is "order123?123" not "order123啊123"