queryAndRead method

ReadResult queryAndRead ()

Implementation

ReadResult queryAndRead() {
  if (handle == null) {
    return const ReadResult(ZX.ERR_INVALID_ARGS);
  }
  return System.channelQueryAndRead(handle!);
}