diff --git a/NET Core/LibUA/LibUA.csproj b/NET Core/LibUA/LibUA.csproj index e1e102a..6b4d8fb 100644 --- a/NET Core/LibUA/LibUA.csproj +++ b/NET Core/LibUA/LibUA.csproj @@ -10,7 +10,7 @@ LibUA Core git https://github.com/nauful/libua - 1.0.22 + 1.0.23 README.md LICENSE diff --git a/NET Core/LibUA/MemoryBufferExtensions.cs b/NET Core/LibUA/MemoryBufferExtensions.cs index 9a53442..f59ce12 100644 --- a/NET Core/LibUA/MemoryBufferExtensions.cs +++ b/NET Core/LibUA/MemoryBufferExtensions.cs @@ -1236,7 +1236,7 @@ public static bool Decode(this MemoryBuffer mem, out DataValue dv) return false; } return true; - + } public static int CodingSize(this MemoryBuffer mem, DataValue dv) @@ -1642,10 +1642,6 @@ public static bool Decode(this MemoryBuffer mem, out ExtensionObject obj) { if (!mem.DecodeUAByteString(out byte[] str)) { return false; } obj.Body = str; - - return obj.TryDecodeByteString(); - - } return true; diff --git a/NET Core/LibUA/Types.cs b/NET Core/LibUA/Types.cs index e51dcca..7040fc1 100644 --- a/NET Core/LibUA/Types.cs +++ b/NET Core/LibUA/Types.cs @@ -5803,7 +5803,7 @@ public class ExtensionObject { private static ConcurrentDictionary> _objectEncoders = new(); private static ConcurrentDictionary> _objectDecoders = new(); - public static void RegisterEncoder(Func encoder) + public static void RegisterEncoder(Func encoder) { _objectEncoders[typeof(TObject)] = encoder; } @@ -5813,8 +5813,6 @@ public static void RegisterDecoder(NodeId TypeId, Func