Class ChunkedByteArray
- java.lang.Object
-
- org.opendaylight.controller.cluster.io.ChunkedByteArray
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyTo(ByteSink output)
void
copyTo(DataOutput output)
InputStream
openStream()
static ChunkedByteArray
readFrom(ObjectInput in, int size, int chunkSize)
int
size()
String
toString()
-
-
-
Method Detail
-
readFrom
public static ChunkedByteArray readFrom(ObjectInput in, int size, int chunkSize) throws IOException
- Throws:
IOException
-
size
public int size()
-
openStream
public InputStream openStream()
-
copyTo
public void copyTo(DataOutput output) throws IOException
- Throws:
IOException
-
copyTo
public void copyTo(ByteSink output) throws IOException
- Throws:
IOException
-
-