blitz-research / monkey

Blitz Research Monkey Source
225 stars 59 forks source link

native resize for DataBuffer #70

Open Pharmhaus-2 opened 9 years ago

Pharmhaus-2 commented 9 years ago

The native implementation of the DataBuffer currently offers no way to resize the DataBuffer. Since the _length and the _data fields are private (C++) there is currently no way to interface with C++ code which needs to resize the Buffer. It is also no option to create a new BBDataBuffer because it cannot be passed back to Monkey X without problems. It would be nice if you could implement a native resize method for the DataBuffer.