dioscuri.module.cpu32
Class ByteSourceWrappedMemory
java.lang.Object
extended by dioscuri.module.cpu32.ByteSourceWrappedMemory
- All Implemented Interfaces:
- ByteSource
public class ByteSourceWrappedMemory
- extends java.lang.Object
- implements ByteSource
- Author:
- Bram Lohman, Bart Kiers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteSourceWrappedMemory
public ByteSourceWrappedMemory()
set
public void set(Memory source,
int offset)
-
- Parameters:
source
- offset
-
getMemory
public Memory getMemory()
-
- Returns:
- -
getOffset
public int getOffset()
-
- Returns:
- -
getByte
public byte getByte()
- Specified by:
getByte
in interface ByteSource
- Returns:
- -
skip
public boolean skip(int count)
- Specified by:
skip
in interface ByteSource
- Parameters:
count
-
- Returns:
- -
rewind
public boolean rewind(int count)
- Specified by:
rewind
in interface ByteSource
- Parameters:
count
-
- Returns:
- -
reset
public boolean reset()
- Specified by:
reset
in interface ByteSource
- Returns:
- -