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

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

?? littleendian.java

?? java 報表 to office文檔: 本包由java語言開發
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
    /**     *  put an int value into a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@param  value   the int (32-bit) value     */    public static void putInt(final byte[] data, final int offset,            final int value) {        putNumber(data, offset, value, INT_SIZE);    }    /**     *  put an int value into beginning of a byte array     *     *@param  data   the byte array     *@param  value  the int (32-bit) value     */    public static void putInt(final byte[] data, final int value) {        putInt(data, 0, value);    }    /**     *  put a long value into a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@param  value   the long (64-bit) value     */    public static void putLong(final byte[] data, final int offset,            final long value) {        putNumber(data, offset, value, LONG_SIZE);    }    /**     *  put a long value into beginning of a byte array     *     *@param  data   the byte array     *@param  value  the long (64-bit) value     */    public static void putLong(final byte[] data, final long value) {        putLong(data, 0, value);    }    /**     *  put a double value into a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@param  value   the double (64-bit) value     */    public static void putDouble(final byte[] data, final int offset,            final double value) {        // Excel likes NaN to be a specific value.        if (Double.isNaN(value))            putNumber(data, offset, -276939487313920L, DOUBLE_SIZE);        else            putNumber(data, offset, Double.doubleToLongBits(value), DOUBLE_SIZE);    }    /**     *  put a double value into beginning of a byte array     *     *@param  data   the byte array     *@param  value  the double (64-bit) value     */    public static void putDouble(final byte[] data, final double value) {        putDouble(data, 0, value);    }    /**     *  Exception to handle buffer underruns     *     *@author     Marc Johnson (mjohnson at apache dot org)     */    public static class BufferUnderrunException             extends IOException {        /**         *  simple constructor         */        BufferUnderrunException() {            super("buffer underrun");        }    }    /**     *  get a short value from an InputStream     *     *@param  stream                       the InputStream from which the short     *      is to be read     *@return                              the short (16-bit) value     *@exception  IOException              will be propagated back to the caller     *@exception  BufferUnderrunException  if the stream cannot provide enough     *      bytes     */    public static short readShort(final InputStream stream)             throws IOException, BufferUnderrunException {        return getShort(readFromStream(stream, SHORT_SIZE));    }    /**     *  get an int value from an InputStream     *     *@param  stream                       the InputStream from which the int is     *      to be read     *@return                              the int (32-bit) value     *@exception  IOException              will be propagated back to the caller     *@exception  BufferUnderrunException  if the stream cannot provide enough     *      bytes     */    public static int readInt(final InputStream stream)             throws IOException, BufferUnderrunException {        return getInt(readFromStream(stream, INT_SIZE));    }    /**     *  get a long value from an InputStream     *     *@param  stream                       the InputStream from which the long     *      is to be read     *@return                              the long (64-bit) value     *@exception  IOException              will be propagated back to the caller     *@exception  BufferUnderrunException  if the stream cannot provide enough     *      bytes     */    public static long readLong(final InputStream stream)             throws IOException, BufferUnderrunException {        return getLong(readFromStream(stream, LONG_SIZE));    }    /**     *  Read the appropriate number of bytes from the stream and return them to     *  the caller. <p>     *     *  However, for the purposes of the POI project, this risk is deemed     *  negligible. It is, however, so noted.     *     *@param  stream                       the InputStream we're reading from     *@param  size                         the number of bytes to read; in     *      99.99% of cases, this will be SHORT_SIZE, INT_SIZE, or LONG_SIZE --     *      but it doesn't have to be.     *@return                              the byte array containing the     *      required number of bytes. The array will contain all zero's on end     *      of stream     *@exception  IOException              will be propagated back to the caller     *@exception  BufferUnderrunException  if the stream cannot provide enough     *      bytes     */    public static byte[] readFromStream(final InputStream stream,            final int size)             throws IOException, BufferUnderrunException {        byte[] buffer = new byte[size];        int count = stream.read(buffer);        if (count == -1) {            // return a zero-filled buffer            Arrays.fill(buffer, (byte) 0);        } else if (count != size) {            throw new BufferUnderrunException();        }        return buffer;    }    /**     *  Gets the number attribute of the LittleEndian class     *     *@param  data    Description of the Parameter     *@param  offset  Description of the Parameter     *@param  size    Description of the Parameter     *@return         The number value     */    private static long getNumber(final byte[] data, final int offset,            final int size) {        long result = 0;        for (int j = offset + size - 1; j >= offset; j--) {            result <<= 8;            result |= 0xff & data[j];        }        return result;    }    /**     *  Description of the Method     *     *@param  data    Description of the Parameter     *@param  offset  Description of the Parameter     *@param  value   Description of the Parameter     *@param  size    Description of the Parameter     */    private static void putNumber(final byte[] data, final int offset,            final long value, final int size) {        int limit = size + offset;        long v = value;        for (int j = offset; j < limit; j++) {            data[j] = (byte) (v & 0xFF);            v >>= 8;        }    }    /**     *  Convert an 'unsigned' byte to an integer. ie, don't carry across the     *  sign.     *     *@param  b  Description of the Parameter     *@return    Description of the Return Value     */    public static int ubyteToInt(byte b) {        return ((b & 0x80) == 0 ? (int) b : (int) (b & (byte) 0x7f) + 0x80);    }    /**     *  get the unsigned value of a byte.     *     *@param  data    the byte array.     *@param  offset  a starting offset into the byte array.     *@return         the unsigned value of the byte as a 32 bit integer     */    public static int getUnsignedByte(final byte[] data, final int offset) {        return (int) getNumber(data, offset, BYTE_SIZE);    }    /**     *  get the unsigned value of a byte.     *     *@param  data  the byte array     *@return       the unsigned value of the byte as a 32 bit integer     */    public static int getUnsignedByte(final byte[] data) {        return getUnsignedByte(data, 0);    }    /**     *  Copy a portion of a byte array     *     *@param  data                        the original byte array     *@param  offset                      Where to start copying from.     *@param  size                        Number of bytes to copy.     *@return                             The byteArray value     *@throws  IndexOutOfBoundsException  - if copying would cause access of     *      data outside array bounds.     */    public static byte[] getByteArray(final byte[] data, int offset, int size) {        byte[] copy = new byte[size];        System.arraycopy(data, offset, copy, 0, size);        return copy;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人手机在线| 久久综合九色综合久久久精品综合| 亚洲国产精品ⅴa在线观看| 国产一区二区三区在线观看免费| 久久一夜天堂av一区二区三区| 久色婷婷小香蕉久久| 2021中文字幕一区亚洲| 国产成人综合视频| 亚洲女性喷水在线观看一区| 在线观看91视频| 丝袜亚洲另类欧美综合| 欧美mv和日韩mv国产网站| 国产成人aaa| 亚洲精品视频免费看| 欧美乱熟臀69xxxxxx| 国产在线视视频有精品| 亚洲欧洲精品成人久久奇米网| 欧美性受xxxx黑人xyx性爽| 美国一区二区三区在线播放| 国产日韩欧美不卡在线| 91福利社在线观看| 韩国成人精品a∨在线观看| 亚洲色图在线看| 日韩欧美成人激情| 97精品国产露脸对白| 日韩电影在线观看一区| 国产精品色呦呦| 欧美精品v日韩精品v韩国精品v| 黑人巨大精品欧美黑白配亚洲 | 6080日韩午夜伦伦午夜伦| 国产一区二区按摩在线观看| 亚洲卡通欧美制服中文| 欧美videossexotv100| av一区二区三区四区| 蜜臀久久99精品久久久久宅男| 国产精品青草综合久久久久99| 欧美日韩一二区| 国产精品资源网| 日韩中文字幕区一区有砖一区| 中文字幕高清一区| 日韩欧美色综合网站| 日本韩国精品在线| 成人精品国产免费网站| 日韩在线a电影| 日韩一区日韩二区| 亚洲精品在线免费观看视频| 日本久久电影网| 国产成人激情av| 蜜桃在线一区二区三区| 亚洲一级二级三级在线免费观看| 国产午夜一区二区三区| 欧美久久久一区| 精品日产卡一卡二卡麻豆| 欧美日韩黄色一区二区| 91麻豆国产福利精品| 国产一区二区免费在线| 天天影视涩香欲综合网| 一区二区三区日韩| 综合久久国产九一剧情麻豆| 欧美大胆人体bbbb| 6080yy午夜一二三区久久| 欧洲精品一区二区三区在线观看| 色综合天天综合网国产成人综合天| 精品影视av免费| 久久精品72免费观看| 视频一区二区中文字幕| 天堂av在线一区| 天天色图综合网| 性做久久久久久免费观看| 一区二区高清免费观看影视大全 | 在线精品视频一区二区三四| 成人禁用看黄a在线| 国产精品91xxx| 韩国毛片一区二区三区| 久久99热狠狠色一区二区| 日韩 欧美一区二区三区| 日日摸夜夜添夜夜添国产精品 | 国产日韩影视精品| 国产网红主播福利一区二区| 久久美女高清视频| 精品国产91亚洲一区二区三区婷婷| 91精品国产综合久久精品性色 | 欧美一级高清片在线观看| 欧美一级片在线| 欧美一级xxx| 欧美精品一区二区三区一线天视频| 精品久久久久久久久久久久久久久| 欧美一区二区观看视频| 日韩欧美www| 久久精品夜色噜噜亚洲aⅴ| 国产日产欧美一区二区三区| 欧美激情在线一区二区三区| 中文字幕在线不卡一区 | 国产精品人妖ts系列视频| 国产精品无遮挡| 综合分类小说区另类春色亚洲小说欧美| 亚洲另类中文字| 亚洲v中文字幕| 国产一区二区三区电影在线观看 | 色拍拍在线精品视频8848| 欧美日韩中文另类| 日韩三级视频在线观看| 国产午夜精品一区二区三区视频 | 经典三级视频一区| 成人一道本在线| 91一区一区三区| 欧美日本乱大交xxxxx| 精品sm捆绑视频| 亚洲欧美综合在线精品| 亚洲国产精品久久久久婷婷884 | 激情综合网天天干| 成人免费高清视频| 欧美日韩精品免费观看视频| 精品国产91久久久久久久妲己 | 自拍偷拍国产精品| 婷婷中文字幕一区三区| 国产伦精品一区二区三区免费迷| 99国产精品99久久久久久| 欧美日韩国产影片| 国产婷婷色一区二区三区在线| 亚洲人午夜精品天堂一二香蕉| 亚洲成在线观看| 国产a精品视频| 欧美一区二区播放| 亚洲欧美日韩精品久久久久| 久久激五月天综合精品| 日本韩国欧美一区| 亚洲国产高清不卡| 香蕉av福利精品导航| 99综合电影在线视频| 日韩一区二区三区在线| 亚洲欧美另类小说| 国产精品中文欧美| 制服丝袜成人动漫| 亚洲欧美日韩综合aⅴ视频| 久久成人久久鬼色| 色噜噜狠狠成人网p站| 国产日韩欧美制服另类| 美女看a上一区| 欧美视频一区在线| 成人免费一区二区三区视频| 国产一区二区三区久久悠悠色av| 欧美日韩一区二区三区高清| 中国色在线观看另类| 国内精品免费在线观看| 91精品国产综合久久久久久漫画 | 国产露脸91国语对白| 欧美精品久久一区二区三区| 亚洲精品日产精品乱码不卡| 国产精品123区| 日韩精品综合一本久道在线视频| 亚洲国产一区视频| 91理论电影在线观看| 国产精品色眯眯| 国产经典欧美精品| 欧美精品一区二区三区高清aⅴ| 亚洲h在线观看| 欧美视频三区在线播放| 亚洲欧美日韩国产综合| 96av麻豆蜜桃一区二区| 中文字幕乱码日本亚洲一区二区| 国内一区二区视频| 欧美mv日韩mv亚洲| 久久99精品久久久久久久久久久久 | 亚洲成a人片综合在线| 欧美四级电影在线观看| 亚洲国产一区二区在线播放| 色乱码一区二区三区88| 亚洲精选视频在线| 日本道精品一区二区三区| 亚洲在线视频网站| 欧美三级电影精品| 三级精品在线观看| 欧美日韩国产精品成人| 日本亚洲天堂网| 精品剧情v国产在线观看在线| 国产一区 二区| 欧美激情艳妇裸体舞| eeuss鲁片一区二区三区在线观看| 国产精品久久久久影视| 成人免费观看视频| 国产精品一二三四| 国产精品久久久久久户外露出| www.久久久久久久久| 日韩毛片一二三区| 欧美亚洲动漫精品| 奇米精品一区二区三区在线观看| 欧美一级xxx| 国产精品一区二区久久不卡| 欧美国产精品v| 91电影在线观看| 亚洲成a人v欧美综合天堂| 日韩视频永久免费| 国产成人久久精品77777最新版本| 亚洲国产精品av| 欧美性生活一区| 久久精品国产久精国产| 亚洲国产激情av| 欧美卡1卡2卡| 国产精品羞羞答答xxdd|