public Slot debugReadPointerSlot(int id) { if (Deploy.debug) { readBytes(_pointerIo._buffer, id, Const4.POINTER_LENGTH); _pointerIo.seek(0); _pointerIo.readBegin(Const4.YAPPOINTER); int debugAddress = _pointerIo.readInt(); int debugLength = _pointerIo.readInt(); _pointerIo.readEnd(); return new Slot(debugAddress, debugLength); } return null; }
public Object read(ByteArrayBuffer reader) { SlotChange change = new SlotChange(reader.readInt()); Slot newSlot = new Slot(reader.readInt(), reader.readInt()); change.newSlot(newSlot); return change; }