SunSPOT API V5.0


com.sun.squawk.flash
Interface IMemoryHeapBlock

All Known Implementing Classes:
MemoryHeapBlock

public interface IMemoryHeapBlock


Method Summary
 Address getAddress()
           
 ByteArrayInputStreamWithSetBytes getByteArrayInputStream()
           
 byte[] getBytes()
           
 DataInputStream getDataInputStream()
           
 int getLength()
           
 int getNextBlockOffset()
           
 int getOffset()
           
 boolean isAllocated()
           
 void resetBytes()
           
 void setAddress(Address address)
           
 void setBytes(byte[] bytes, int offset, int length)
           
 void setIsAllocated(boolean isAllocated)
           
 void setLength(int length)
           
 void setNextOffset(int offset)
           
 

Method Detail

getAddress

Address getAddress()

getByteArrayInputStream

ByteArrayInputStreamWithSetBytes getByteArrayInputStream()

getBytes

byte[] getBytes()

getDataInputStream

DataInputStream getDataInputStream()

getLength

int getLength()

getNextBlockOffset

int getNextBlockOffset()

getOffset

int getOffset()

isAllocated

boolean isAllocated()

resetBytes

void resetBytes()

setAddress

void setAddress(Address address)

setBytes

void setBytes(byte[] bytes,
              int offset,
              int length)

setIsAllocated

void setIsAllocated(boolean isAllocated)

setLength

void setLength(int length)

setNextOffset

void setNextOffset(int offset)

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.