----------------------- SKIP ---------------------------------------
| 97 | } |
| 98 | //----------------------- SKIP --------------------------------------- |
| 99 | void MemoryFrame::skip(unsigned int bytes) |
| 100 | { |
| 101 | if(bytes > this->frameSize) |
| 102 | bytes = this->frameSize; |
| 103 | this->frameBase = (void*)((int)this->frameBase + bytes); |
| 104 | this->frameSize -= bytes; |
| 105 | return; |
| 106 | } |
| 107 | //----------------------- READ --------------------------------------- |
| 108 | MemoryFrame MemoryFrame::read(int bytes) |
| 109 | { |