Package ch.bailu.gtk.gio
Interface PollableOutputStreamInterface.OnWriteNonblocking
- Enclosing class:
- PollableOutputStreamInterface
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionlong
onWriteNonblocking
(CallbackHandler __self, PollableOutputStream stream, Pointer buffer, long count)
-
Method Details
-
onWriteNonblocking
long onWriteNonblocking(CallbackHandler __self, @Nonnull PollableOutputStream stream, @Nullable Pointer buffer, long count) - Parameters:
stream
- a #GPollableOutputStreambuffer
- a buffer to write data fromcount
- the number of bytes you want to write- Returns:
- the number of bytes written, or -1 on error (including %G_IO_ERROR_WOULD_BLOCK).
-