亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? byteoutputbuffer.java

?? jpeg2000算法實現
?? JAVA
字號:
/* * CVS identifier: * * $Id: ByteOutputBuffer.java,v 1.9 2000/09/21 16:13:00 dsanta Exp $ * * Class:                   ByteOutputBuffer * * Description:             Provides buffering for byte based output, similar *                          to the standard class ByteArrayOutputStream * *                          the old jj2000.j2k.io.ByteArrayOutput class by *                          Diego SANTA CRUZ, Apr-26-1999 * * * COPYRIGHT: *  * This software module was originally developed by Rapha雔 Grosbois and * Diego Santa Cruz (Swiss Federal Institute of Technology-EPFL); Joel * Askel鰂 (Ericsson Radio Systems AB); and Bertrand Berthelot, David * Bouchard, F閘ix Henry, Gerard Mozelle and Patrice Onno (Canon Research * Centre France S.A) in the course of development of the JPEG2000 * standard as specified by ISO/IEC 15444 (JPEG 2000 Standard). This * software module is an implementation of a part of the JPEG 2000 * Standard. Swiss Federal Institute of Technology-EPFL, Ericsson Radio * Systems AB and Canon Research Centre France S.A (collectively JJ2000 * Partners) agree not to assert against ISO/IEC and users of the JPEG * 2000 Standard (Users) any of their rights under the copyright, not * including other intellectual property rights, for this software module * with respect to the usage by ISO/IEC and Users of this software module * or modifications thereof for use in hardware or software products * claiming conformance to the JPEG 2000 Standard. Those intending to use * this software module in hardware or software products are advised that * their use may infringe existing patents. The original developers of * this software module, JJ2000 Partners and ISO/IEC assume no liability * for use of this software module or modifications thereof. No license * or right to this software module is granted for non JPEG 2000 Standard * conforming products. JJ2000 Partners have full right to use this * software module for his/her own purpose, assign or donate this * software module to any third party and to inhibit third parties from * using this software module for non JPEG 2000 Standard conforming * products. This copyright notice must be included in all copies or * derivative works of this software module. *  * Copyright (c) 1999/2000 JJ2000 Partners. *  *  *  */package jj2000.j2k.entropy.encoder;import java.io.*;/** * This class provides a buffering output stream similar to * ByteArrayOutputStream, with some additional methods. * * <P>Once an array has been written to an output stream or to a byte * array, the object can be reused as a new stream if the reset() * method is called. * * <P>Unlike the ByteArrayOutputStream class, this class is not thread safe. * * @see #reset * */public class ByteOutputBuffer {    /** The buffer where the data is stored */    byte buf[];    /** The number of valid bytes in the buffer */    int count;    /** The buffer increase size */    public final static int BUF_INC = 512;    /** The default initial buffer size */    public final static int BUF_DEF_LEN = 256;    /**     * Creates a new byte array output stream. The buffer capacity is     * initially BUF_DEF_LEN bytes, though its size increases if necessary.     *     *     * */    public ByteOutputBuffer() {        buf = new byte[BUF_DEF_LEN];    }    /**     * Creates a new byte array output stream, with a buffer capacity     * of the specified size, in bytes.     *     * @param size the initial size.     *     *     * */    public ByteOutputBuffer(int size) {        buf = new byte[size];    }    /**     * Writes the specified byte to this byte array output stream. The     * functionality provided by this implementation is the same as for the     * one in the superclass, however this method is not synchronized and     * therefore not safe thread, but faster.     *     * @param b The byte to write     *     *     * */    public final void write(int b) {        if (count == buf.length) { // Resize buffer            byte tmpbuf[] = buf;            buf = new byte[buf.length+BUF_INC];            System.arraycopy(tmpbuf,0,buf,0,count);        }        buf[count++] = (byte) b;    }    /**     * Copies the specified part of the stream to the 'outbuf' byte     * array.     *     * @param off The index of the first element in the stream to     * copy.     *     * @param len The number of elements of the array to copy     *     * @param outbuf The destination array     *     * @param outoff The index of the first element in 'outbuf' where     * to write the data.     *     *     * */    public void toByteArray(int off, int len, byte outbuf[], int outoff) {        // Copy the data        System.arraycopy(buf,off,outbuf,outoff,len);    }    /**     * Returns the number of valid bytes in the output buffer (count class     * variable).     *     * @return The number of bytes written to the buffer     *     * */    public int size() {        return count;    }    /**     * Discards all the buffered data, by resetting the counter of written     * bytes to 0.     *     * */    public void reset() {        count = 0;    }    /**     * Returns the byte buffered at the given position in the buffer. The     * position in the buffer is the index of the 'write()' method call after     * the last call to 'reset()'.     *     * @param pos The position of the byte to return     *     * @return The value (betweeb 0-255) of the byte at position 'pos'.     *     * */    public int getByte(int pos) {        if (pos >= count) {            throw new IllegalArgumentException();        }        return buf[pos]&0xFF;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕av一区二区三区免费看| 偷窥少妇高潮呻吟av久久免费| 亚洲精品视频免费看| 日本不卡中文字幕| av一区二区久久| 欧美一二三四区在线| 中文字幕一区二区三| 免费观看日韩电影| 日本久久精品电影| 久久免费偷拍视频| 亚洲1区2区3区视频| 欧美日韩一区不卡| 国产亚洲综合色| 日本午夜精品视频在线观看| 91久久精品一区二区三区| 337p粉嫩大胆色噜噜噜噜亚洲 | 色综合一区二区三区| 日韩久久久精品| 亚洲国产精品久久久久婷婷884| 国产黑丝在线一区二区三区| 日韩一区二区三区在线| 亚洲黄一区二区三区| 99精品在线观看视频| 欧美国产激情二区三区| 国产盗摄精品一区二区三区在线| 日韩精品一区二区三区在线观看 | 三级欧美韩日大片在线看| 色美美综合视频| 中文字幕一区二区三区在线观看| 成人一区在线看| 欧美经典一区二区| 国产精品资源在线看| 欧美成人福利视频| 精品一区二区三区的国产在线播放| 91麻豆精品国产无毒不卡在线观看| 一区二区三区中文字幕在线观看| 91网站视频在线观看| 日韩理论电影院| 色偷偷久久人人79超碰人人澡| 国产精品国产三级国产有无不卡 | 亚洲欧美中日韩| 99精品视频在线观看| 亚洲伦理在线精品| 欧美伊人久久久久久午夜久久久久| 亚洲一本大道在线| 欧美日韩一区三区| 日本在线不卡一区| 精品少妇一区二区三区日产乱码| 久久99精品国产麻豆不卡| 久久久欧美精品sm网站| 国产成人午夜99999| 国产精品天干天干在观线| 91在线免费看| 亚洲成人一区二区| 欧美一级在线观看| 高清免费成人av| 亚洲美女少妇撒尿| 日韩精品一区二区三区中文不卡| 高清在线不卡av| 亚洲精品va在线观看| 日韩欧美亚洲国产精品字幕久久久| 国产乱子轮精品视频| 自拍视频在线观看一区二区| 欧洲av一区二区嗯嗯嗯啊| 捆绑调教美女网站视频一区| 国产日产欧美一区| 欧美自拍偷拍午夜视频| 免费看日韩精品| 日韩美女视频一区| 日韩天堂在线观看| 成人国产一区二区三区精品| 亚洲高清在线精品| 久久久青草青青国产亚洲免观| 日本高清无吗v一区| 看国产成人h片视频| 日韩美女啊v在线免费观看| 欧美日本免费一区二区三区| 丁香天五香天堂综合| 午夜精品久久久久久久久久| 久久九九99视频| 67194成人在线观看| 99天天综合性| 国产资源在线一区| 五月激情综合婷婷| 亚洲欧洲日产国产综合网| 91精品久久久久久久99蜜桃| 波多野结衣亚洲一区| 久久国产精品露脸对白| 一个色妞综合视频在线观看| 久久精品人人做人人综合| 欧美精品久久一区| 91一区二区三区在线观看| 国产一区二区不卡在线 | 亚洲欧洲一区二区三区| 日韩视频123| 欧美日韩国产经典色站一区二区三区| 国产99久久久国产精品潘金网站| 麻豆国产一区二区| 日日噜噜夜夜狠狠视频欧美人| 亚洲欧洲精品一区二区三区| 欧美精品一区二区三区在线播放 | 成人av在线观| 国产麻豆一精品一av一免费| 日本系列欧美系列| 亚洲第一福利视频在线| 亚洲免费观看高清完整版在线 | 欧美videos大乳护士334| 在线精品视频免费观看| 91香蕉视频在线| 91在线porny国产在线看| 成人听书哪个软件好| 国产精品一二三区在线| 国产一区二区三区免费在线观看| 日韩电影在线观看电影| 日韩精品亚洲专区| 五月婷婷综合网| 首页国产欧美久久| 天堂蜜桃91精品| 免费在线观看精品| 精品一区二区日韩| 国产自产2019最新不卡| 国产高清不卡一区二区| 国产精品77777竹菊影视小说| 精品一区二区免费看| 国内精品视频一区二区三区八戒| 久久精品国产一区二区| 久久www免费人成看片高清| 久久99热这里只有精品| 国产在线精品一区二区夜色 | 国产婷婷色一区二区三区| 国产清纯美女被跳蛋高潮一区二区久久w | 成人一区二区视频| 色综合久久久久久久| 色哟哟国产精品| 欧美一区二区视频免费观看| 日韩欧美一级精品久久| 国产日产欧产精品推荐色| 国产精品麻豆视频| 综合欧美亚洲日本| 亚洲va国产va欧美va观看| 日韩国产欧美在线播放| 国产一区二区免费在线| eeuss鲁一区二区三区| 欧美日韩精品系列| 日韩精品一区二区三区中文不卡| 日本一区二区久久| 一二三四区精品视频| 七七婷婷婷婷精品国产| 豆国产96在线|亚洲| 在线免费不卡视频| 欧美第一区第二区| ...av二区三区久久精品| 日本va欧美va欧美va精品| 国产精品白丝av| 日本久久精品电影| 久久午夜羞羞影院免费观看| 亚洲日本丝袜连裤袜办公室| 欧美aaa在线| 91在线小视频| 久久久午夜电影| 午夜精品久久久久影视| 不卡的av电影| 日韩精品中文字幕在线不卡尤物| 亚洲人被黑人高潮完整版| 国产自产v一区二区三区c| 欧美日韩aaaaa| 国产精品国产a| 国产在线不卡视频| 欧美日韩高清一区二区不卡| 国产精品午夜在线| 久久成人久久爱| 欧美日韩中文字幕精品| 国产精品家庭影院| 国产精品一区2区| 日韩欧美国产wwwww| 一区二区三区国产豹纹内裤在线| 国产精品亚洲成人| 欧美一级一级性生活免费录像| 一区二区三区四区在线免费观看 | 青青草国产精品亚洲专区无| av高清不卡在线| 久久久综合精品| 久久不见久久见中文字幕免费| 欧美日韩一区久久| 亚洲一区成人在线| 色综合久久久久久久久| 中文字幕在线一区免费| 国产精品1024| 亚洲精品在线观看网站| 久久99久久99| 日韩精品专区在线影院重磅| 免费在线看成人av| 3d动漫精品啪啪| 青青草伊人久久| 91.麻豆视频| 美女看a上一区| 日韩欧美一级二级| 激情五月婷婷综合| 精品欧美乱码久久久久久1区2区| 美女在线视频一区|