SshWireReader.requireFullyConsumed

void requireFullyConsumed(string context = "message") @safe

Asserts that the whole buffer was consumed.

Parameters

contextName of the message schema for the error text.

Throws

SshWireException when trailing bytes are present.