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

write method

WriteResult write (ByteData data, [int options = 0])

Implementation

WriteResult write(ByteData data, [int options = 0]) {
  if (handle == null) {
    return const WriteResult(ZX.ERR_INVALID_ARGS);
  }

  return System.socketWrite(handle, data, options);
}