js.tinyvm
Class WritableDataWithOffset

java.lang.Object
  extended by js.tinyvm.WritableDataWithOffset
All Implemented Interfaces:
WritableData
Direct Known Subclasses:
CodeSequence, ConstantValue, InterfaceMap, RecordTable, StaticValue

public abstract class WritableDataWithOffset
extends java.lang.Object
implements WritableData


Constructor Summary
WritableDataWithOffset()
           
 
Method Summary
 int getOffset()
          Offset.
 void initOffset(int startOffset)
          Init offset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface js.tinyvm.WritableData
dump, getLength
 

Constructor Detail

WritableDataWithOffset

public WritableDataWithOffset()
Method Detail

initOffset

public void initOffset(int startOffset)
                throws TinyVMException
Init offset.

Parameters:
startOffset - start offset
Throws:
TinyVMException - if offset is not correct

getOffset

public int getOffset()
              throws TinyVMException
Offset.

Throws:
TinyVMException - if offset is not correct