Class InputStreamInStream

    • Constructor Detail

      • InputStreamInStream

        public InputStreamInStream(InputStream is)
    • Method Detail

      • read

        public void read(byte[] buf)
                  throws IOException
        Description copied from interface: InStream
        Reads buf.length bytes from the input stream and stores them in the supplied buffer.
        Specified by:
        read in interface  InStream
        Parameters:
        buf - the buffer to receive the bytes
        Throws:
        IOException - if an I/O error occurs