Package ch.bailu.gtk.gio
Interface BufferedInputStreamClass.OnFill
- Enclosing class:
- BufferedInputStreamClass
- 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
onFill
(CallbackHandler __self, BufferedInputStream stream, long count, Cancellable cancellable)
-
Method Details
-
onFill
long onFill(CallbackHandler __self, @Nonnull BufferedInputStream stream, long count, @Nullable Cancellable cancellable) - Parameters:
stream
- a #GBufferedInputStreamcount
- the number of bytes that will be read from the streamcancellable
- optional #GCancellable object, %NULL to ignore- Returns:
- the number of bytes read into @stream's buffer, up to @count, or -1 on error.
-