public class ReplicationInputStream extends ByteArrayInputStream
buf, count, mark, pos| Constructor and Description |
|---|
ReplicationInputStream(byte[] data) |
ReplicationInputStream(byte[] data,
int offset,
int len) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBuffer() |
int |
mark() |
boolean |
readBoolean() |
int |
readInt() |
byte[] |
readLengthPrefixedBytes() |
String |
readLengthPrefixedString() |
long |
readLong() |
void |
skipTo(int index) |
available, close, mark, markSupported, read, read, reset, skipreadpublic ReplicationInputStream(byte[] data)
public ReplicationInputStream(byte[] data,
int offset,
int len)
public int mark()
public void skipTo(int index)
public final int readInt()
public final long readLong()
public final String readLengthPrefixedString()
public final byte[] readLengthPrefixedBytes()
public boolean readBoolean()
public byte[] getBuffer()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.