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 ByteArrayDataInput |
ByteStreams.newDataInput(byte[] bytes)
Returns a new
ByteArrayDataInput instance to read from the bytes array from the
beginning. |
static ByteArrayDataInput |
ByteStreams.newDataInput(byte[] bytes,
int start)
Returns a new
ByteArrayDataInput instance to read from the bytes array,
starting at the given position. |
static ByteArrayDataInput |
ByteStreams.newDataInput(ByteArrayInputStream byteArrayInputStream)
Returns a new
ByteArrayDataInput instance to read from the given ByteArrayInputStream . |
Copyright © 2010–2019. All rights reserved.