queueRead method

void queueRead(
  1. int handleId,
  2. Uint8List data
)

Queue a byte buffer that will be returned by the next readBytes call on handleId.

Implementation

void queueRead(int handleId, Uint8List data) {
  _handles[handleId]?.readQueue.add(data);
}