类 UnsafeByteArrayOutputStream
-
-
- com.alibaba.dubbo.common.io.UnsafeByteArrayOutputStream
-
-
- 所有已实现的接口:
,
,
public class UnsafeByteArrayOutputStream extends
UnsafeByteArrayOutputStream.
-
-
构造器概要
构造器 构造器 说明 UnsafeByteArrayOutputStream()
UnsafeByteArrayOutputStream(int size)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
close()
void
reset()
int
size()
byte[]
toByteArray()
toByteBuffer()
toString()
charset)
void
write(byte[] b, int off, int len)
void
write(int b)
void
out)
-
-
-
方法详细资料
-
write
public void write(int b)
- 指定者:
在类中
-
write
public void write(byte[] b, int off, int len)
- 覆盖:
在类中
-
size
public int size()
-
reset
public void reset()
-
toByteArray
public byte[] toByteArray()
-
toByteBuffer
public toByteBuffer()
-
writeTo
public void writeTo( out) throws
- 抛出:
-
toString
public toString()
- 覆盖:
在类中
-
toString
public toString( charset) throws
- 抛出:
-
close
public void close() throws
- 指定者:
在接口中
- 指定者:
在接口中
- 覆盖:
在类中
- 抛出:
-
-