Package ch.bailu.gtk.gio
Schnittstelle BufferedInputStreamClass.OnFill
- Umschließende Klasse:
BufferedInputStreamClass
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglong
onFill
(CallbackHandler __self, BufferedInputStream stream, long count, Cancellable cancellable)
-
Methodendetails
-
onFill
long onFill(CallbackHandler __self, @Nonnull BufferedInputStream stream, long count, @Nullable Cancellable cancellable) - Parameter:
stream
- a [class@Gio.BufferedInputStream]count
- the number of bytes that will be read from the streamcancellable
- optional [class@Gio.Cancellable] object, `NULL` to ignore- Gibt zurück:
- the number of bytes read into @stream's buffer, up to @count, or `-1` on error.
-