Class FlowableExpressionIOUtils


  • public class FlowableExpressionIOUtils
    extends Object
    Provides utilities to work with I/O.
    Author:
    Valentin Rentschler
    • Constructor Detail

      • FlowableExpressionIOUtils

        public FlowableExpressionIOUtils()
    • Method Detail

      • streamToByteArray

        public byte[] streamToByteArray​(InputStream inputStream)
                                 throws IOException
        Takes a stream and turns it into a byte array
        Parameters:
        inputStream - The input stream, non null. Will be closed after the bytes have been read
        Returns:
        a byte array
        Throws:
        IOException