public class DdbByteArrayInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
bufIndex_ |
protected List<byte[]> |
bufList_ |
protected int |
bufPos_ |
protected long |
count_ |
protected long |
mark_ |
protected int |
markBufIndex_ |
protected int |
markBufPos_ |
protected long |
pos_ |
| Constructor and Description |
|---|
DdbByteArrayInputStream(List<byte[]> list) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(byte[] buf) |
int |
available() |
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
long off,
long len) |
void |
reset() |
long |
skip(long n) |
read, readprotected List<byte[]> bufList_
protected long count_
protected long pos_
protected int bufIndex_
protected int bufPos_
protected long mark_
protected int markBufIndex_
protected int markBufPos_
public DdbByteArrayInputStream(List<byte[]> list)
public int read()
read in class InputStreampublic void append(byte[] buf)
public int read(byte[] b,
long off,
long len)
public long skip(long n)
skip in class InputStreampublic int available()
available in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void mark(int readAheadLimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2025 DolphinDB. All rights reserved.