javax.imageio.stream
Class IIOByteBuffer

java.lang.Object
  extended by javax.imageio.stream.IIOByteBuffer

public class IIOByteBuffer
extends Object

A data structure for holding a reference to a byte array, an index into that array, and a number of bytes, that can be passed to one specific variant of the readBytes method.

Since:
1.4

Constructor Summary
IIOByteBuffer(byte[] data, int offset, int length)
           
 
Method Summary
 byte[] getData()
           
 int getLength()
           
 int getOffset()
           
 void setData(byte[] data)
           
 void setLength(int length)
           
 void setOffset(int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IIOByteBuffer

public IIOByteBuffer(byte[] data,
                     int offset,
                     int length)
Method Detail

getData

public byte[] getData()

setData

public void setData(byte[] data)

getOffset

public int getOffset()

setOffset

public void setOffset(int offset)

getLength

public int getLength()

setLength

public void setLength(int length)