Google is committed to advancing racial equity for Black communities. See how.

write method

*<Null safety>*

int write (ByteData data, [List<Handle>? handles])

Implementation

int write(ByteData data, [List<Handle>? handles]) {
  if (handle == null) {
    return ZX.ERR_INVALID_ARGS;
  }

  return System.channelWrite(handle!, data, handles ?? []);
}