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

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

?? littleendian.java

?? java 報表 to office文檔: 本包由java語言開發
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* ====================================================================   Copyright 2003-2004   Apache Software Foundation   Licensed under the Apache License, Version 2.0 (the "License");   you may not use this file except in compliance with the License.   You may obtain a copy of the License at       http://www.apache.org/licenses/LICENSE-2.0   Unless required by applicable law or agreed to in writing, software   distributed under the License is distributed on an "AS IS" BASIS,   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   See the License for the specific language governing permissions and   limitations under the License.==================================================================== */package org.apache.poi.util;import java.io.IOException;import java.io.InputStream;import java.util.Arrays;/** *  a utility class for handling little-endian numbers, which the 80x86 world is *  replete with. The methods are all static, and input/output is from/to byte *  arrays, or from InputStreams. * *@author     Marc Johnson (mjohnson at apache dot org) *@author     Andrew Oliver (acoliver at apache dot org) */public class LittleEndian         implements LittleEndianConsts {    // all methods are static, so an accessible constructor makes no    // sense    /**     *  Constructor for the LittleEndian object     */    private LittleEndian() { }    /**     *  get a short value from a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@return         the short (16-bit) value     */    public static short getShort(final byte[] data, final int offset) {        return (short) getNumber(data, offset, SHORT_SIZE);    }    /**     *  get an unsigned short value from a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@return         the unsigned short (16-bit) value in an integer     */    public static int getUShort(final byte[] data, final int offset) {        short num = (short) getNumber(data, offset, SHORT_SIZE);        int retNum;        if (num < 0) {            retNum = ((int) Short.MAX_VALUE + 1) * 2 + (int) num;        } else {            retNum = (int) num;        }        return retNum;    }    /**     *  get a short array from a byte array.     *     *@param  data    Description of the Parameter     *@param  offset  Description of the Parameter     *@param  size    Description of the Parameter     *@return         The simpleShortArray value     */    public static short[] getSimpleShortArray(final byte[] data, final int offset, final int size) {        short[] results = new short[size];        for (int i = 0; i < size; i++) {            results[i] = getShort(data, offset + 2 + (i * 2));        }        return results;    }    /**     *  get a short array from a byte array. The short array is assumed to start     *  with a word describing the length of the array.     *     *@param  data    Description of the Parameter     *@param  offset  Description of the Parameter     *@return         The shortArray value     */    public static short[] getShortArray(final byte[] data, final int offset) {        int size = (int) getNumber(data, offset, SHORT_SIZE);        short[] results = getSimpleShortArray(data, offset, size);        return results;    }    /**     *  get a short value from the beginning of a byte array     *     *@param  data  the byte array     *@return       the short (16-bit) value     */    public static short getShort(final byte[] data) {        return getShort(data, 0);    }    /**     *  get an unsigned short value from the beginning of a byte array     *     *@param  data  the byte array     *@return       the unsigned short (16-bit) value in an int     */    public static int getUShort(final byte[] data) {        return getUShort(data, 0);    }    /**     *  get an int value from a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@return         the int (32-bit) value     */    public static int getInt(final byte[] data, final int offset) {        return (int) getNumber(data, offset, INT_SIZE);    }    /**     *  get an int value from the beginning of a byte array     *     *@param  data  the byte array     *@return       the int (32-bit) value     */    public static int getInt(final byte[] data) {        return getInt(data, 0);    }    /**     *  get an unsigned int value from a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@return         the unsigned int (32-bit) value in a long     */    public static long getUInt(final byte[] data, final int offset) {        int num = (int) getNumber(data, offset, INT_SIZE);        long retNum;        if (num < 0) {            retNum = ((long) Integer.MAX_VALUE + 1) * 2 + (long) num;        } else {            retNum = (int) num;        }        return retNum;    }    /**     *  get an unsigned int value from a byte array     *     *@param  data    the byte array     *@return         the unsigned int (32-bit) value in a long     */    public static long getUInt(final byte[] data) {	return getUInt(data,0);    }    /**     *  get a long value from a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@return         the long (64-bit) value     */    public static long getLong(final byte[] data, final int offset) {        return getNumber(data, offset, LONG_SIZE);    }    /**     *  get a long value from the beginning of a byte array     *     *@param  data  the byte array     *@return       the long (64-bit) value     */    public static long getLong(final byte[] data) {        return getLong(data, 0);    }    /**     *  get a double value from a byte array, reads it in little endian format     *  then converts the resulting revolting IEEE 754 (curse them) floating     *  point number to a happy java double     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@return         the double (64-bit) value     */    public static double getDouble(final byte[] data, final int offset) {        return Double.longBitsToDouble(getNumber(data, offset, DOUBLE_SIZE));    }    /**     *  get a double value from the beginning of a byte array     *     *@param  data  the byte array     *@return       the double (64-bit) value     */    public static double getDouble(final byte[] data) {        return getDouble(data, 0);    }    /**     *  put a short value into a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@param  value   the short (16-bit) value     */    public static void putShort(final byte[] data, final int offset,            final short value) {        putNumber(data, offset, value, SHORT_SIZE);    }    /**     *  put a array of shorts into a byte array     *     *@param  data    the byte array     *@param  offset  a starting offset into the byte array     *@param  value   the short array     */    public static void putShortArray(final byte[] data, final int offset, final short[] value) {        putNumber(data, offset, value.length, SHORT_SIZE);        for (int i = 0; i < value.length; i++) {            putNumber(data, offset + 2 + (i * 2), value[i], SHORT_SIZE);        }    }    /**     * put an unsigned short value into a byte array     *     * @param data the byte array     * @param offset a starting offset into the byte array     * @param value the short (16-bit) value     *     * @exception ArrayIndexOutOfBoundsException may be thrown     */    public static void putUShort(final byte[] data, final int offset,                                final int value)    {        putNumber(data, offset, value, SHORT_SIZE);    }    /**     *  put a short value into beginning of a byte array     *     *@param  data   the byte array     *@param  value  the short (16-bit) value     */    public static void putShort(final byte[] data, final short value) {        putShort(data, 0, value);    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩一区二区三区在线看| 国产一区福利在线| 午夜视频在线观看一区二区| 欧美欧美午夜aⅴ在线观看| 亚洲女同ⅹxx女同tv| 欧美在线观看你懂的| 26uuu国产日韩综合| 国产乱码精品一区二区三区忘忧草| 日韩电影网1区2区| 欧美午夜视频网站| 欧日韩精品视频| 欧美性色aⅴ视频一区日韩精品| 91黄色免费观看| 91高清视频免费看| 欧美一区中文字幕| 精品福利一二区| 免费在线看成人av| 国模一区二区三区白浆| 高清视频一区二区| 制服丝袜亚洲网站| 99re这里只有精品首页| 黄色精品一二区| 色噜噜狠狠色综合欧洲selulu| 日韩免费在线观看| 亚洲国产wwwccc36天堂| 欧美本精品男人aⅴ天堂| 成人性生交大合| 国产乱国产乱300精品| 亚洲影视资源网| 日韩欧美激情四射| 国产精品一卡二卡在线观看| 国产欧美一区二区三区在线老狼| 91视频在线看| 精品一二线国产| 亚洲福利国产精品| 国产精品麻豆网站| 日韩久久免费av| 欧美区一区二区三区| 99久久99久久综合| 国产超碰在线一区| 国产精华液一区二区三区| 夜夜操天天操亚洲| 欧美手机在线视频| 亚洲成国产人片在线观看| 精品一区二区三区免费| 在线免费一区三区| 亚洲国产色一区| 亚洲成a人片在线观看中文| 日韩精品一二区| 成人av在线一区二区三区| 欧美日韩一区二区电影| 国产欧美精品一区二区色综合朱莉 | 精品一二线国产| 色94色欧美sute亚洲线路一久| 日韩色视频在线观看| 亚洲欧美视频在线观看视频| 国产一区二区三区高清播放| 欧美少妇一区二区| 亚洲欧洲制服丝袜| 国产在线视频精品一区| 欧美日韩aaaaa| 一区二区三区免费在线观看| 99国产精品久久| 日本一区二区动态图| 久久99国产精品久久99果冻传媒| 在线亚洲一区二区| 亚洲人精品午夜| 94色蜜桃网一区二区三区| 中文字幕av一区二区三区| 国产69精品久久久久毛片| www国产亚洲精品久久麻豆| 奇米色777欧美一区二区| 4438x成人网最大色成网站| 亚洲高清三级视频| 欧美色网站导航| 五月天久久比比资源色| 欧美三级电影在线看| 亚洲国产cao| 欧美日韩高清一区二区三区| 亚洲777理论| 欧美日韩一区二区在线视频| 亚洲v中文字幕| 91精品视频网| 狠狠色丁香九九婷婷综合五月| 欧美成人猛片aaaaaaa| 狠狠色丁香婷婷综合久久片| 久久久久久黄色| www.成人在线| 亚洲一区二区三区小说| 欧美三区免费完整视频在线观看| 亚洲福利一二三区| 91精选在线观看| 韩国一区二区视频| 国产精品久久毛片av大全日韩| 99re这里只有精品视频首页| 香港成人在线视频| 日韩精品一区二区三区中文不卡| 国内精品视频一区二区三区八戒| 欧美激情一区二区三区蜜桃视频| 成人一区二区在线观看| 亚洲欧洲制服丝袜| 日韩午夜激情视频| 丁香婷婷综合网| 一区二区三区四区精品在线视频| 91麻豆精品国产自产在线| 激情久久久久久久久久久久久久久久| 国产日韩欧美高清在线| 91在线高清观看| 秋霞午夜鲁丝一区二区老狼| 国产色产综合产在线视频| 色偷偷成人一区二区三区91| 蜜桃视频第一区免费观看| 亚洲国产高清不卡| 欧美日韩不卡视频| 国产精品18久久久久久vr| 亚洲视频一区在线| 欧美一级黄色片| 成人福利电影精品一区二区在线观看 | 日韩欧美一区二区不卡| 成人av影院在线| 美女任你摸久久| 亚洲综合丁香婷婷六月香| 亚洲国产精品激情在线观看| 91精品免费在线观看| 91原创在线视频| 丁香婷婷综合网| 久久成人免费日本黄色| 亚洲大片在线观看| 国产精品乱码一区二区三区软件| 91精品欧美久久久久久动漫 | 亚洲精品高清在线| 久久亚洲精品国产精品紫薇| 欧美日韩dvd在线观看| 一本久久综合亚洲鲁鲁五月天| 国产一区二区在线视频| 日韩综合小视频| 一区二区三区欧美视频| 国产精品久线观看视频| 久久久一区二区三区| 日韩欧美一二三区| 欧美日韩另类一区| 在线免费精品视频| 成人国产亚洲欧美成人综合网| 国产美女娇喘av呻吟久久| 免费久久99精品国产| 青青青伊人色综合久久| 日韩国产欧美在线视频| 三级久久三级久久久| 亚洲国产精品自拍| 亚洲一区在线播放| 亚洲第一搞黄网站| 丝袜诱惑亚洲看片| 午夜精品福利一区二区三区蜜桃| 亚洲午夜激情av| 亚洲成人免费看| 七七婷婷婷婷精品国产| 日韩 欧美一区二区三区| 亚洲6080在线| 麻豆一区二区在线| 激情综合网av| 国产成人精品一区二| 成人免费视频网站在线观看| 不卡的av中国片| 日本高清不卡视频| 欧美日韩第一区日日骚| 日韩丝袜美女视频| 久久久久久久久久久久电影 | 精品一区二区三区久久| 国产伦精品一区二区三区免费迷 | 欧美日韩精品免费观看视频| 色拍拍在线精品视频8848| 色欧美日韩亚洲| 欧美一级生活片| 久久久噜噜噜久噜久久综合| 国产精品热久久久久夜色精品三区| 中文字幕第一区二区| 亚洲精品国产一区二区三区四区在线 | 91浏览器打开| 欧美日韩成人激情| 久久综合九色综合欧美亚洲| 亚洲国产高清在线观看视频| 一区二区三区美女视频| 麻豆精品视频在线观看视频| 风间由美一区二区三区在线观看| 91麻豆精东视频| 日韩一区二区在线观看| 国产视频一区在线观看| 亚洲一区国产视频| 国产在线观看免费一区| 色妹子一区二区| 精品入口麻豆88视频| 亚洲欧美激情小说另类| 久久精品久久综合| 99riav一区二区三区| 精品免费国产二区三区| 亚洲愉拍自拍另类高清精品| 韩国精品久久久| 欧美日韩视频在线观看一区二区三区| 精品国产制服丝袜高跟| 亚洲精品你懂的|