com.alibaba.simpleimage.io
类 ByteArray

java.lang.Object
  继承者 com.alibaba.simpleimage.io.ByteArray

public class ByteArray
extends Object

代表一个byte数组。

版本:
$Id: ByteArray.java 593 2004-02-26 13:47:19Z baobao $
作者:
Michael Zhou, wendell

构造方法摘要
ByteArray(byte[] bytes, int offset, int length)
           
 
方法摘要
 byte[] getBytes()
           
 int getLength()
           
 int getOffset()
           
 byte[] toByteArray()
           
 InputStream toInputStream()
           
 void writeTo(OutputStream out)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ByteArray

public ByteArray(byte[] bytes,
                 int offset,
                 int length)
方法详细信息

getBytes

public byte[] getBytes()

getOffset

public int getOffset()

getLength

public int getLength()

toByteArray

public byte[] toByteArray()

toInputStream

public InputStream toInputStream()

writeTo

public void writeTo(OutputStream out)
             throws IOException
抛出:
IOException


Copyright © 2012–2015 Alibaba Group. All rights reserved.