public final class VertexByteArrayInputStream extends FilterInputStream
InputStream implementation that can independently process a Gryo file written with
GryoWriter.writeVertices(OutputStream, Iterator).in| Constructor and Description |
|---|
VertexByteArrayInputStream(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
ByteArrayOutputStream |
readVertexBytes()
Read the bytes of the next
Vertex in the stream. |
available, close, mark, markSupported, read, read, read, reset, skippublic VertexByteArrayInputStream(InputStream inputStream)
public ByteArrayOutputStream readVertexBytes() throws IOException
Vertex in the stream. The returned
stream can then be passed to GryoReader.readVertex(java.io.InputStream, java.util.function.Function).IOExceptionCopyright © 2013–2016 Apache Software Foundation. All rights reserved.