Interface StreamReadConsumer

  • 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 interface StreamReadConsumer
    InputStream consumer
    Since:
    0.1
    Author:
    PARK Yong Seo
    • Method Summary

      Modifier and Type Method Description
      void accept​(byte[] buf, int len)
      read InputStream
    • Method Detail

      • accept

        void accept​(byte[] buf,
                    int len)
             throws java.lang.Exception
        read InputStream
        Parameters:
        buf - buffer
        len - buffer data length
        Throws:
        java.lang.Exception