GcmPacketReader.take

ubyte[] take()

Takes the next authenticated packet's payload.

Returns

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

Throws

SshGcmException on authentication failure or padding

violations; nothing is returned before the tag is verified.