markConsumed method

void markConsumed()

Marks the stream moved into a consumer. For transport implementations.

Implementation

void markConsumed() {
  if (_closed || _consumed) {
    throw StateError('Arrow C Stream is not available');
  }
  _consumed = true;
}