亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
激情久久五月天| 天天综合色天天| 欧美视频一区二区| 狠狠狠色丁香婷婷综合激情| 亚洲精品一二三区| 久久久久9999亚洲精品| 欧美日韩国产影片| 99热这里都是精品| 国产在线看一区| 天天综合色天天综合色h| 中文字幕视频一区二区三区久| 日韩一区二区三区免费看| 91国偷自产一区二区三区观看| 国产高清不卡一区| 久久精品国产久精国产爱| 一区二区三区欧美久久| 国产女主播视频一区二区| 欧美一区二区三区男人的天堂| 99久久综合色| 风间由美一区二区av101| 色老综合老女人久久久| 久久在线免费观看| 欧美日韩一区二区三区在线| av在线不卡免费看| 国产精品1区二区.| 国产综合成人久久大片91| 天堂成人免费av电影一区| 一区二区在线观看av| 亚洲欧洲一区二区在线播放| 国产婷婷一区二区| 久久久99精品免费观看不卡| 日韩欧美色综合| 7777精品伊人久久久大香线蕉经典版下载| 色婷婷综合视频在线观看| 成人国产精品免费观看| 国产精品亚洲专一区二区三区 | 一区二区日韩电影| 国产精品天干天干在线综合| 久久久久国产精品厨房| 国产日韩一级二级三级| 国产欧美日韩精品在线| 久久九九99视频| 国产欧美日本一区视频| 国产农村妇女毛片精品久久麻豆| 国产女同性恋一区二区| 久久一区二区三区国产精品| 欧美成人精品高清在线播放| 欧美成人a∨高清免费观看| 日韩一级黄色大片| 精品国产免费人成电影在线观看四季| 日韩美女一区二区三区四区| 欧美成人高清电影在线| 久久久亚洲精华液精华液精华液| 久久久亚洲国产美女国产盗摄| www久久精品| 国产精品女主播在线观看| 中文字幕亚洲成人| 亚洲成人资源在线| 蜜桃精品视频在线观看| 国产在线播放一区| 成人av综合在线| 91啪在线观看| 欧美另类高清zo欧美| 91麻豆精品国产自产在线观看一区 | 日韩av午夜在线观看| 亚洲精品在线观| 国产精品2024| 94色蜜桃网一区二区三区| 色八戒一区二区三区| 欧美高清性hdvideosex| 精品电影一区二区三区| 国产精品成人午夜| 国产在线一区观看| 91麻豆国产自产在线观看| 97超碰欧美中文字幕| 欧美日韩免费电影| 久久久高清一区二区三区| 亚洲色欲色欲www在线观看| 亚洲18女电影在线观看| 精东粉嫩av免费一区二区三区| 成人午夜在线免费| 欧美日韩国产综合一区二区| 国产欧美一二三区| 亚洲第一在线综合网站| 国产麻豆一精品一av一免费| 91老师片黄在线观看| 日韩美女视频一区二区在线观看| 中文字幕在线免费不卡| 美女脱光内衣内裤视频久久影院| 99精品视频一区二区三区| 欧美一级久久久| 91丨porny丨在线| 麻豆精品一区二区av白丝在线| 国产九色精品成人porny | 欧美人伦禁忌dvd放荡欲情| 欧美不卡一区二区三区| 亚洲欧洲在线观看av| 久久精品免费观看| 在线观看日韩精品| 国产午夜精品一区二区| 视频在线观看一区二区三区| 成人app网站| 久久色在线观看| 日韩av成人高清| 91福利国产精品| 国产精品日产欧美久久久久| 久久草av在线| 欧美老女人第四色| 亚洲精选一二三| jlzzjlzz亚洲日本少妇| 精品国产91洋老外米糕| 亚洲成a人v欧美综合天堂 | 日韩精品一区在线观看| 亚洲第一搞黄网站| 在线观看免费成人| 亚洲丝袜美腿综合| 成人高清免费观看| 国产精品系列在线| 在线观看不卡视频| 精品久久久久久久一区二区蜜臀| 图片区小说区区亚洲影院| 91色.com| 日本成人中文字幕| 欧美日韩午夜在线| 亚洲午夜一区二区三区| 色综合久久88色综合天天免费| 国产农村妇女精品| 高清国产午夜精品久久久久久| 久久久久高清精品| 国产一区二区导航在线播放| 精品国产a毛片| 久久97超碰国产精品超碰| 日韩一区二区在线观看| 午夜精品久久久久影视| 欧美日韩中文字幕一区二区| 洋洋成人永久网站入口| 在线一区二区三区四区五区 | 精品一区二区成人精品| 日韩欧美专区在线| 久久国产剧场电影| 26uuuu精品一区二区| 激情深爱一区二区| 久久精品在线观看| 高清不卡在线观看| 亚洲欧美日韩久久精品| 在线免费观看视频一区| 亚洲妇熟xx妇色黄| 555夜色666亚洲国产免| 精品欧美一区二区三区精品久久| 久久综合色综合88| 九九精品视频在线看| 久久综合狠狠综合久久激情| 国产在线一区二区| 国产精品热久久久久夜色精品三区| eeuss鲁一区二区三区| 亚洲精品视频一区二区| 欧美丝袜自拍制服另类| 日韩精品电影在线观看| 欧美不卡123| 国产成人午夜精品5599| 自拍偷拍欧美精品| 欧美日韩精品一区二区三区蜜桃 | 国产一二精品视频| 国产精品免费观看视频| 欧美性高清videossexo| 精品一区二区三区在线播放| 国产欧美一区二区精品仙草咪| 色悠悠久久综合| 成人av高清在线| 亚洲制服丝袜在线| 日韩欧美国产午夜精品| 丁香激情综合国产| 一区二区三区日韩在线观看| 91精品蜜臀在线一区尤物| 在线看不卡av| 亚洲一区二区三区四区的 | 91麻豆精品国产91久久久资源速度 | 日本电影亚洲天堂一区| 天天射综合影视| 欧美国产一区视频在线观看| 欧美日韩视频不卡| 国产一区二区三区久久悠悠色av| 国产精品区一区二区三| 在线不卡的av| av网站免费线看精品| 日韩高清欧美激情| 中文字幕一区二区在线观看| 欧美一区二区私人影院日本| www.爱久久.com| 精品综合久久久久久8888| 亚洲在线视频网站| 国产偷国产偷精品高清尤物| 5858s免费视频成人| 91亚洲资源网| 国产精品一区2区| 男人的j进女人的j一区| 亚洲人成网站影音先锋播放| 久久久久久**毛片大全| 777奇米四色成人影色区| 91小视频免费观看|