blob: 0bbcfeac0adce60888d2f527bed4d3220bc81e1c [file] [log] [blame] [view]
# write method
int write
(ByteData data, [List<[Handle](../../zircon/Handle-class.md)> handles])
## Implementation
```dart
int write(ByteData data, [List<Handle>? handles]) {
if (handle == null) {
return ZX.ERR_INVALID_ARGS;
}
return System.channelWrite(handle!, data, handles ?? []);
}
```