pendingBytes property

int get pendingBytes

Number of bytes currently held back inside the decoder waiting for the rest of a frame to arrive. Useful for backpressure / observability.

Implementation

int get pendingBytes => _buffer.length;