SshChannelImpl.acceptInbound

private bool acceptInbound(const(ubyte)[] data, string what)

Validates one inbound channel-data payload against the advertised receive window and maximum packet size.

Parameters

dataPayload bytes.
whatMessage name for diagnostics.

Returns

Whether the payload is within the advertised bounds.