| 程序包 | 说明 |
|---|---|
| org.tinygroup.commons.io |
| 限定符和类型 | 方法和说明 |
|---|---|
static ByteArray |
StreamUtil.readBytes(InputStream in,
boolean closeIn)
将指定
InputStream的所有内容全部读出到一个byte数组中。 |
ByteArray |
ByteArrayOutputStream.toByteArray() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
StreamUtil.writeBytes(ByteArray bytes,
OutputStream out,
boolean closeOut)
将byte数组写入到指定
OutputStream中。 |
Copyright © 2006–2018 TinyGroup. All rights reserved.