ChachaPolyPacketReader.take

ubyte[] take()

Takes the next authenticated packet's payload.

Returns

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

Throws

SshChaChaException on authentication failure, padding

violations, or sequence exhaustion; the tag is verified before the body is decrypted.