EtMPacketReader.take

ubyte[] take()

Takes the next authenticated packet's payload.

Returns

The payload bytes; empty when no complete packet is ready.

Throws

SshEtmException on authentication failure or padding

violations; nothing is decrypted before the MAC is verified.