Interface InputStreamClass.OnSkip

Enclosing class:
InputStreamClass
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface InputStreamClass.OnSkip
  • Method Details

    • onSkip

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