< prev index next >

src/java.desktop/share/classes/com/sun/imageio/plugins/common/BitFile.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 33,43 **** * Modified - to allow for output compressed data without the block counts * which breakup the compressed data stream for GIF. */ public class BitFile { ImageOutputStream output; ! byte buffer[]; int index; int bitsLeft; // bits left at current index that are avail. /** note this also indicates gif format BITFile. **/ boolean blocks = false; --- 33,43 ---- * Modified - to allow for output compressed data without the block counts * which breakup the compressed data stream for GIF. */ public class BitFile { ImageOutputStream output; ! byte[] buffer; int index; int bitsLeft; // bits left at current index that are avail. /** note this also indicates gif format BITFile. **/ boolean blocks = false;
< prev index next >