public class SnapshotReaderStream extends InputStream
SnapshotReader
.Constructor and Description |
---|
SnapshotReaderStream(io.atomix.copycat.server.storage.snapshot.SnapshotReader reader) |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, reset, skip
public SnapshotReaderStream(io.atomix.copycat.server.storage.snapshot.SnapshotReader reader)
reader
- the reader to read from; note that this stream will never close the readerpublic int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
Copyright © 2023. All Rights Reserved.