public class ByteArrayImageInputStream extends ByteArrayInputStream implements ImageInputStream
Constructor and Description |
---|
ByteArrayImageInputStream(byte[] buf) |
ByteArrayImageInputStream(byte[] buf,
ByteOrder byteOrder) |
ByteArrayImageInputStream(byte[] buf,
int offset,
int length,
ByteOrder byteOrder) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
void |
flushBefore(long pos) |
int |
getBitOffset() |
ByteOrder |
getByteOrder() |
long |
getFlushedPosition() |
long |
getStreamPosition() |
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
long |
length() |
void |
mark() |
int |
readBit() |
long |
readBits(int numBits) |
boolean |
readBoolean() |
byte |
readByte() |
void |
readBytes(IIOByteBuffer buf,
int len) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
void |
readFully(char[] c,
int off,
int len) |
void |
readFully(double[] d,
int off,
int len) |
void |
readFully(float[] f,
int off,
int len) |
void |
readFully(int[] i,
int off,
int len) |
void |
readFully(long[] l,
int off,
int len) |
void |
readFully(short[] s,
int off,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
long |
readUnsignedInt() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
reset() |
void |
seek(long pos) |
void |
setBitOffset(int bitOffset) |
void |
setByteOrder(ByteOrder byteOrder) |
int |
skipBytes(int n) |
long |
skipBytes(long n) |
available, close, mark, markSupported, read, read, skip
read
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, read, read, read
public ByteArrayImageInputStream(byte[] buf)
public ByteArrayImageInputStream(byte[] buf, ByteOrder byteOrder)
public ByteArrayImageInputStream(byte[] buf, int offset, int length, ByteOrder byteOrder)
public void setByteOrder(ByteOrder byteOrder)
setByteOrder
in interface ImageInputStream
public ByteOrder getByteOrder()
getByteOrder
in interface ImageInputStream
public void readBytes(IIOByteBuffer buf, int len) throws IOException
readBytes
in interface ImageInputStream
IOException
public boolean readBoolean() throws IOException
readBoolean
in interface DataInput
readBoolean
in interface ImageInputStream
IOException
public byte readByte() throws IOException
readByte
in interface DataInput
readByte
in interface ImageInputStream
IOException
public int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
readUnsignedByte
in interface ImageInputStream
IOException
public short readShort() throws IOException
readShort
in interface DataInput
readShort
in interface ImageInputStream
IOException
public int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
readUnsignedShort
in interface ImageInputStream
IOException
public char readChar() throws IOException
readChar
in interface DataInput
readChar
in interface ImageInputStream
IOException
public int readInt() throws IOException
readInt
in interface DataInput
readInt
in interface ImageInputStream
IOException
public long readUnsignedInt() throws IOException
readUnsignedInt
in interface ImageInputStream
IOException
public long readLong() throws IOException
readLong
in interface DataInput
readLong
in interface ImageInputStream
IOException
public float readFloat() throws IOException
readFloat
in interface DataInput
readFloat
in interface ImageInputStream
IOException
public double readDouble() throws IOException
readDouble
in interface DataInput
readDouble
in interface ImageInputStream
IOException
public String readLine() throws IOException
readLine
in interface DataInput
readLine
in interface ImageInputStream
IOException
public String readUTF() throws IOException
readUTF
in interface DataInput
readUTF
in interface ImageInputStream
IOException
public void readFully(byte[] b, int off, int len) throws IOException
readFully
in interface DataInput
readFully
in interface ImageInputStream
IOException
public void readFully(byte[] b) throws IOException
readFully
in interface DataInput
readFully
in interface ImageInputStream
IOException
public void readFully(short[] s, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(char[] c, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(int[] i, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(long[] l, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(float[] f, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(double[] d, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public long getStreamPosition()
getStreamPosition
in interface ImageInputStream
public int getBitOffset()
getBitOffset
in interface ImageInputStream
public void setBitOffset(int bitOffset)
setBitOffset
in interface ImageInputStream
public int readBit() throws IOException
readBit
in interface ImageInputStream
IOException
public long readBits(int numBits) throws IOException
readBits
in interface ImageInputStream
IOException
public long length() throws IOException
length
in interface ImageInputStream
IOException
public int skipBytes(int n) throws IOException
skipBytes
in interface DataInput
skipBytes
in interface ImageInputStream
IOException
public long skipBytes(long n) throws IOException
skipBytes
in interface ImageInputStream
IOException
public void seek(long pos) throws IOException
seek
in interface ImageInputStream
IOException
public void flushBefore(long pos) throws IOException
flushBefore
in interface ImageInputStream
IOException
public void flush() throws IOException
flush
in interface ImageInputStream
IOException
public long getFlushedPosition()
getFlushedPosition
in interface ImageInputStream
public boolean isCached()
isCached
in interface ImageInputStream
public boolean isCachedMemory()
isCachedMemory
in interface ImageInputStream
public boolean isCachedFile()
isCachedFile
in interface ImageInputStream
public void mark()
mark
in interface ImageInputStream
public void reset()
reset
in interface ImageInputStream
reset
in class ByteArrayInputStream
Copyright © 2010 - 2020 Adobe. All Rights Reserved