public class ByteArrayImageInputStream extends ImageInputStreamImpl2
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buf |
protected int |
count |
| Constructor and Description |
|---|
ByteArrayImageInputStream(byte[] buf) |
ByteArrayImageInputStream(byte[] buf,
java.nio.ByteOrder byteOrder) |
ByteArrayImageInputStream(byte[] buf,
int offset,
int length,
java.nio.ByteOrder byteOrder) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getStreamPosition() |
long |
length() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
long |
skip(long n) |
readInt, readShortcheckClosed, finalize, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, isCached, isCachedFile, isCachedMemory, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readLine, readLong, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setBitOffset, setByteOrder, skipBytes, skipBytespublic ByteArrayImageInputStream(byte[] buf)
public ByteArrayImageInputStream(byte[] buf,
java.nio.ByteOrder byteOrder)
public ByteArrayImageInputStream(byte[] buf,
int offset,
int length,
java.nio.ByteOrder byteOrder)
public int read()
read in interface javax.imageio.stream.ImageInputStreamread in class javax.imageio.stream.ImageInputStreamImplpublic int read(byte[] b,
int off,
int len)
read in interface javax.imageio.stream.ImageInputStreamread in class javax.imageio.stream.ImageInputStreamImplpublic long skip(long n)
public int available()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface javax.imageio.stream.ImageInputStreamclose in class javax.imageio.stream.ImageInputStreamImplpublic long getStreamPosition()
throws java.io.IOException
getStreamPosition in interface javax.imageio.stream.ImageInputStreamgetStreamPosition in class javax.imageio.stream.ImageInputStreamImpljava.io.IOExceptionpublic void seek(long pos)
throws java.io.IOException
seek in interface javax.imageio.stream.ImageInputStreamseek in class javax.imageio.stream.ImageInputStreamImpljava.io.IOExceptionpublic long length()
length in interface javax.imageio.stream.ImageInputStreamlength in class javax.imageio.stream.ImageInputStreamImplCopyright © 2022. All Rights Reserved.