Class RLE8Decoder

  • All Implemented Interfaces:
    Decoder

    final class RLE8Decoder
    extends AbstractRLEDecoder
    Implements 8 bit RLE decoding as specified by in the Windows BMP (aka DIB) file format.
    Version:
    $Id: RLE8Decoder.java#1 $
    • Constructor Detail

      • RLE8Decoder

        public RLE8Decoder​(int width)
    • Method Detail

      • decodeRow

        protected void decodeRow​(java.io.InputStream stream)
                          throws java.io.IOException
        Description copied from class: AbstractRLEDecoder
        Decodes one full row of image data.
        Specified by:
        decodeRow in class AbstractRLEDecoder
        Parameters:
        stream - the input stream containing RLE data
        Throws:
        java.io.IOException - if an I/O related exception occurs while reading