com.imagero.uio.buffer
Interface Buffer

All Known Subinterfaces:
MutableBuffer
All Known Implementing Classes:
ByteBuffer, HTTPBuffer, MutableByteBuffer, OutputStreamBuffer, RABuffer, RABufferRO, RAFBuffer, RAFBufferRO

public interface Buffer

Buffer.java
Usefull for dynamically loading of some data


Method Summary
 byte[] getData()
          get data
 byte[] getData(byte[] d)
          copy data to supplied byte array
 boolean isDirty()
           
 int length()
          get length of data
 

Method Detail

getData

public byte[] getData()
               throws java.io.IOException
get data

Returns:
byte array
Throws:
java.io.IOException

getData

public byte[] getData(byte[] d)
               throws java.io.IOException
copy data to supplied byte array

Parameters:
d - destination array
Returns:
byte array
Throws:
java.io.IOException

length

public int length()
get length of data

Returns:
length of data

isDirty

public boolean isDirty()