
public class OMemoryInputStream extends InputStream
| Constructor and Description |
|---|
OMemoryInputStream() |
OMemoryInputStream(byte[] iBuffer) |
OMemoryInputStream(byte[] iBuffer,
int iOffset,
int iLength) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
byte[] |
copy() |
boolean |
getAsBoolean() |
byte |
getAsByte() |
byte[] |
getAsByteArray() |
byte[] |
getAsByteArray(int iOffset) |
byte[] |
getAsByteArrayFixed(int iSize) |
int |
getAsByteArrayOffset()
Browse the stream but just return the begin of the byte array.
|
char |
getAsChar() |
int |
getAsInteger() |
long |
getAsLong() |
short |
getAsShort() |
int |
getPosition() |
int |
getSize() |
int |
getVariableSize() |
OMemoryInputStream |
jump(int iOffset) |
byte |
peek() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
setSource(byte[] iBuffer) |
void |
setSource(byte[] iBuffer,
int iOffset,
int iLength) |
mark, markSupported, skippublic OMemoryInputStream()
public OMemoryInputStream(byte[] iBuffer)
public OMemoryInputStream(byte[] iBuffer,
int iOffset,
int iLength)
public byte[] getAsByteArrayFixed(int iSize)
throws IOException
IOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic int getAsByteArrayOffset()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic byte[] getAsByteArray(int iOffset)
throws IOException
IOExceptionpublic byte[] getAsByteArray()
throws IOException
IOExceptionpublic boolean getAsBoolean()
throws IOException
IOExceptionpublic char getAsChar()
throws IOException
IOExceptionpublic byte getAsByte()
throws IOException
IOExceptionpublic long getAsLong()
throws IOException
IOExceptionpublic int getAsInteger()
throws IOException
IOExceptionpublic short getAsShort()
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic byte peek()
public void setSource(byte[] iBuffer)
public void setSource(byte[] iBuffer,
int iOffset,
int iLength)
public OMemoryInputStream jump(int iOffset)
public byte[] copy()
public int getVariableSize()
throws IOException
IOExceptionpublic int getSize()
public int getPosition()
public void reset()
throws IOException
reset in class InputStreamIOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.