public class NoLockByteArrayOutputStream extends OutputStream
| 构造器和说明 |
|---|
NoLockByteArrayOutputStream() |
NoLockByteArrayOutputStream(int size) |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
copyOf(byte[] original,
int newLength) |
void |
reset() |
int |
size() |
byte[] |
toByteArray() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, writepublic NoLockByteArrayOutputStream()
public NoLockByteArrayOutputStream(int size)
public void write(int b)
write 在类中 OutputStreampublic void write(byte[] b,
int off,
int len)
write 在类中 OutputStreampublic static byte[] copyOf(byte[] original,
int newLength)
public void reset()
public byte[] toByteArray()
public int size()
Copyright © 2019. All rights reserved.