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-15 06:09:05 +03:00
parent 6c1d038bbb
commit 9386cc7a84
7 changed files with 194 additions and 155 deletions

View File

@@ -333,9 +333,11 @@ public static class DataSerializer
var tdu = Codec.ComposeInternal(i, warehouse, connection);
if (previous != null && tdu.MatchType(previous.Value))
{
rt.Add((byte)TDUIdentifier.NotModified);
rt.AddRange(tdu.Composed.Clip(tdu.ContentOffset,
(uint)tdu.Composed.Length - tdu.ContentOffset));
var d = tdu.Composed.Clip(tdu.ContentOffset,
(uint)tdu.Composed.Length - tdu.ContentOffset);
var ntd = new TDU(TDUIdentifier.TypeContinuation, d,(ulong) d.Length);
rt.AddRange(ntd.Composed);
}
else
{