2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-10-29 23:21:36 +00:00
This commit is contained in:
2025-10-07 14:41:32 +03:00
parent a2a7ff445c
commit 4a3fa11b74
3 changed files with 37 additions and 13 deletions

View File

@@ -329,9 +329,11 @@ public static class DataSerializer
foreach (var i in value)
{
var tdu = Codec.ComposeInternal(i, warehouse, connection);
if (previous != null && tdu.MatchType(previous.Value))
if (previous != null && tdu.MatchType(previous.Value))
{
rt.Add((byte)TDUIdentifier.NotModified);
rt.AddRange(tdu.Composed.Clip(tdu.Composed[tdu.ContentOffset],
(uint)tdu.Composed.Length - tdu.Composed[tdu.ContentOffset]));
}
else
{