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, skip
public 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)
.IOException
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.