com.sun.squawk.flash
Class MemoryHeapBlock
java.lang.Object
   com.sun.squawk.flash.MemoryHeapBlock
com.sun.squawk.flash.MemoryHeapBlock
- All Implemented Interfaces: 
- IMemoryHeapBlock
- public class MemoryHeapBlock 
- extends Object- implements IMemoryHeapBlock
 
 
 
 
address
protected Address address
isAllocated
protected boolean isAllocated
nextBlockOffset
protected int nextBlockOffset
bytes
protected byte[] bytes
offset
protected int offset
length
protected int length
bytesIn
protected ByteArrayInputStreamWithSetBytes bytesIn
dataIn
protected DataInputStream dataIn
MemoryHeapBlock
public MemoryHeapBlock()
getByteArrayInputStream
public ByteArrayInputStreamWithSetBytes getByteArrayInputStream()
- 
- Specified by:
- getByteArrayInputStreamin interface- IMemoryHeapBlock
 
- 
 
getAddress
public Address getAddress()
- 
- Specified by:
- getAddressin interface- IMemoryHeapBlock
 
- 
 
getBytes
public byte[] getBytes()
- 
- Specified by:
- getBytesin interface- IMemoryHeapBlock
 
- 
 
getDataInputStream
public DataInputStream getDataInputStream()
- 
- Specified by:
- getDataInputStreamin interface- IMemoryHeapBlock
 
- 
 
getLength
public int getLength()
- 
- Specified by:
- getLengthin interface- IMemoryHeapBlock
 
- 
 
getNextBlockOffset
public int getNextBlockOffset()
- 
- Specified by:
- getNextBlockOffsetin interface- IMemoryHeapBlock
 
- 
 
getOffset
public int getOffset()
- 
- Specified by:
- getOffsetin interface- IMemoryHeapBlock
 
- 
 
isAllocated
public boolean isAllocated()
- 
- Specified by:
- isAllocatedin interface- IMemoryHeapBlock
 
- 
 
resetBytes
public void resetBytes()
- 
- Specified by:
- resetBytesin interface- IMemoryHeapBlock
 
- 
 
setAddress
public void setAddress(Address address)
- 
- Specified by:
- setAddressin interface- IMemoryHeapBlock
 
- 
 
setBytes
public void setBytes(byte[] bytes,
                     int offset,
                     int length)
- 
- Specified by:
- setBytesin interface- IMemoryHeapBlock
 
- 
 
setLength
public void setLength(int length)
- 
- Specified by:
- setLengthin interface- IMemoryHeapBlock
 
- 
 
setIsAllocated
public void setIsAllocated(boolean isAllocated)
- 
- Specified by:
- setIsAllocatedin interface- IMemoryHeapBlock
 
- 
 
setNextOffset
public void setNextOffset(int offset)
- 
- Specified by:
- setNextOffsetin interface- IMemoryHeapBlock
 
- 
 
"For updated information see the Java FRC site"