mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
Limits
This commit is contained in:
1 parent
f14dc633ae
commit
61ec566f63
11 files changed
+403
-28
No files matched your search
@@ -649,6 +649,7 @@ public static class Codec
|
||||
public static byte[] Compose(object valueOrSource, Warehouse warehouse, EpConnection connection)
|
||||
{
|
||||
var tdu = ComposeInternal(valueOrSource, warehouse, connection);
|
||||
ParserGuard.EnsureRemotePacketSize(connection, (ulong)tdu.Composed.LongLength);
|
||||
return tdu.Composed;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user