Object read1(ByteArrayBuffer a_bytes) { if (Deploy.debug) { a_bytes.readBegin(Const4.YAPBYTE); } byte ret = a_bytes.readByte(); if (Deploy.debug) { a_bytes.readEnd(); } return new Byte(ret); }
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; }