Schnittstelle InputStreamClass.OnSkip

Umschließende Klasse:
InputStreamClass
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface InputStreamClass.OnSkip
  • Methodendetails

    • onSkip

      long onSkip(CallbackHandler __self, @Nonnull InputStream stream, long count, @Nullable Cancellable cancellable)
      Parameter:
      stream - a #GInputStream.
      count - the number of bytes that will be skipped from the stream
      cancellable - optional #GCancellable object, %NULL to ignore.
      Gibt zurück:
      Number of bytes skipped, or -1 on error