Package | Description |
---|---|
com.google.common.io |
This package contains utility methods and classes for working with Java I/O; for example input
streams, output streams, readers, writers, and files.
|
Modifier and Type | Method and Description |
---|---|
static ByteArrayDataOutput |
ByteStreams.newDataOutput()
Returns a new
ByteArrayDataOutput instance with a default size. |
static ByteArrayDataOutput |
ByteStreams.newDataOutput(ByteArrayOutputStream byteArrayOutputSteam)
Returns a new
ByteArrayDataOutput instance which writes to the given ByteArrayOutputStream . |
static ByteArrayDataOutput |
ByteStreams.newDataOutput(int size)
Returns a new
ByteArrayDataOutput instance sized to hold size bytes before
resizing. |
Copyright © 2010–2017. All rights reserved.