public class BFScript.MemoryChunk
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPosition(int i)
Check whether contains position
|
void |
copyFrom(BFScript.MemoryChunk mc)
Copy a value from a given MemoryChunk into self
|
int |
getAddress()
Get the address if this chunk
|
int |
getSize()
Get the size of this chunk
|
void |
input(int count)
Allow input for the specified count.
|
int[] |
read()
Read the values stored in the positions wrapped.
|
void |
store(char[] data)
Does not store past it's size
|
void |
store(int[] data)
Does not store past it's size
|
public int getAddress()
public int getSize()
public void store(int[] data)
data - Data to store in memorypublic void store(char[] data)
data - Data to store in memorypublic int[] read()
getSize()public boolean containsPosition(int i)
i - The positionpublic void copyFrom(BFScript.MemoryChunk mc)
mc - The chunk to copypublic void input(int count)
count - The amount of characters to read