Interface InputStreamClass.OnReadFinish

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.OnReadFinish
  • Method Details

    • onReadFinish

      long onReadFinish(CallbackHandler __self, @Nonnull InputStream stream, @Nonnull AsyncResult result)
      Parameters:
      stream - a #GInputStream.
      result - a #GAsyncResult.
      Returns:
      number of bytes read in, or -1 on error, or 0 on end of file.