|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.sun.mail.iap.ByteArray
public class ByteArray
A simple wrapper around a byte array, with a start position and count of bytes.
| 构造方法摘要 | |
|---|---|
ByteArray(byte[] b,
int start,
int count)
Constructor |
|
ByteArray(int size)
Constructor that creates a byte array of the specified size. |
|
| 方法摘要 | |
|---|---|
byte[] |
getBytes()
Returns the internal byte array. |
int |
getCount()
Returns the count of bytes |
byte[] |
getNewBytes()
Returns a new byte array that is a copy of the data. |
int |
getStart()
Returns the start position |
void |
grow(int incr)
Grow the byte array by incr bytes. |
void |
setCount(int count)
Set the count of bytes. |
ByteArrayInputStream |
toByteArrayInputStream()
Returns a ByteArrayInputStream. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ByteArray(byte[] b,
int start,
int count)
public ByteArray(int size)
| 方法详细信息 |
|---|
public byte[] getBytes()
public byte[] getNewBytes()
public int getStart()
public int getCount()
public void setCount(int count)
public ByteArrayInputStream toByteArrayInputStream()
public void grow(int incr)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||