Module java.desktop

Class ImageOutputStreamImpl

    • Constructor Detail

      • ImageOutputStreamImpl

        public ImageOutputStreamImpl()
        Constructs an ImageOutputStreamImpl.
    • Method Detail

      • flushBits

        protected final void flushBits()
                                throws IOException
        If the bit offset is non-zero, forces the remaining bits in the current byte to 0 and advances the stream position by one. This method should be called by subclasses at the beginning of the write(int) and write(byte[], int, int) methods.
        Throws:
        IOException - if an I/O error occurs.