| 30 #define BOTC_DATABUFFER_H |
30 #define BOTC_DATABUFFER_H |
| 31 |
31 |
| 32 #include "main.h" |
32 #include "main.h" |
| 33 #include "stringTable.h" |
33 #include "stringTable.h" |
| 34 |
34 |
| 35 // ------------------------------------------------------------------------------------------------ |
35 // _________________________________________________________________________________________________ |
| 36 // |
36 // |
| 37 // The DataBuffer class stores a section of bytecode. Buffers are allocated on |
37 // The DataBuffer class stores a section of bytecode. Buffers are allocated on |
| 38 // the heap and written to using the @c write* functions. Buffers can be cut and |
38 // the heap and written to using the @c write* functions. Buffers can be cut and |
| 39 // pasted together with @c mergeAndDestroy, note that this function destroys the |
39 // pasted together with @c mergeAndDestroy, note that this function destroys the |
| 40 // parameter buffer in the process |
40 // parameter buffer in the process |