First of all, GetBuffer is deprecated, you should use StringBuffer instead.
Using "free pointer" data in U++ is quite untypical, reserved just for dirty deep implementation issues, way too untypical for providing the member function.
However, if you need a lot of these, I would recommend using helper function like: