Closeable
, DataInput
, AutoCloseable
, ImageInputStream
public final class ByteArrayImageInputStream extends ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
Constructor | Description |
---|---|
ByteArrayImageInputStream(byte[] pData) |
|
ByteArrayImageInputStream(byte[] pData,
int offset,
int length) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isCached() |
|
boolean |
isCachedMemory() |
|
long |
length() |
|
int |
read() |
|
int |
read(byte[] pBuffer,
int pOffset,
int pLength) |
checkClosed, close, finalize, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCachedFile, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
public ByteArrayImageInputStream(byte[] pData)
public ByteArrayImageInputStream(byte[] pData, int offset, int length)
public int read() throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
public int read(byte[] pBuffer, int pOffset, int pLength) throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
public long length()
length
in interface ImageInputStream
length
in class ImageInputStreamImpl
public boolean isCached()
isCached
in interface ImageInputStream
isCached
in class ImageInputStreamImpl
public boolean isCachedMemory()
isCachedMemory
in interface ImageInputStream
isCachedMemory
in class ImageInputStreamImpl
Copyright © 2018. All rights reserved.