mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-09-08 10:10:49 +00:00
Limits
This commit is contained in:
@@ -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