com.twelvemonkeys.imageio.stream
Class ByteArrayImageInputStream
java.lang.Object
javax.imageio.stream.ImageInputStreamImpl
com.twelvemonkeys.imageio.stream.ByteArrayImageInputStream
- All Implemented Interfaces:
- DataInput, ImageInputStream
public final class ByteArrayImageInputStream
- extends ImageInputStreamImpl
Experimental
- Version:
- $Id: ByteArrayImageInputStream.java,v 1.0 May 15, 2008 2:12:12 PM haraldk Exp$
- Author:
- Harald Kuhr, last modified by $Author: haraldk$
| Methods inherited from class javax.imageio.stream.ImageInputStreamImpl |
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 |
ByteArrayImageInputStream
public ByteArrayImageInputStream(byte[] pData)
ByteArrayImageInputStream
public ByteArrayImageInputStream(byte[] pData,
int offset,
int length)
read
public int read()
throws IOException
- Specified by:
read in interface ImageInputStream- Specified by:
read in class ImageInputStreamImpl
- Throws:
IOException
read
public int read(byte[] pBuffer,
int pOffset,
int pLength)
throws IOException
- Specified by:
read in interface ImageInputStream- Specified by:
read in class ImageInputStreamImpl
- Throws:
IOException
length
public long length()
- Specified by:
length in interface ImageInputStream- Overrides:
length in class ImageInputStreamImpl
isCached
public boolean isCached()
- Specified by:
isCached in interface ImageInputStream- Overrides:
isCached in class ImageInputStreamImpl
isCachedMemory
public boolean isCachedMemory()
- Specified by:
isCachedMemory in interface ImageInputStream- Overrides:
isCachedMemory in class ImageInputStreamImpl
Copyright © 2015. All Rights Reserved.