peakReassemblyBytes property
The largest the reassembly buffer has ever been grown to, in bytes — for diagnostics and tests.
A PEAK rather than the current size, because both places that would read it
have already reset it: a completed frame compacts the buffer, and
_failChannel drops it outright so a refusal does not keep allocating.
Exposed because the cap that bounds this buffer is consulted BEFORE the append, and "before" cannot be seen in the error — a chunk refused after being copied raises exactly the same RpcFrameException. The only other observable is the PROCESS's resident size, which under a concurrent test runner belongs to every isolate at once rather than to this channel.
Useful beyond a test: against a configured cap it says how much of the reassembly budget a peer's framing actually uses.
Implementation
int get peakReassemblyBytes => _peakBufBytes;