REALgetStringContents & REALgetStringData

No wonder I get a little confused with the plugins SDK. The XOJO SDK web documentation still has reference to REALgetStringContents when in fact it’s deprecated, and no reference to the current REALgetStringData which is included with the documentation in the plugins SDK in the XOJO PC installation.

Pull the finger out XOJO!!

REALgetStringContents is still a way to go if you want the bytes of a string.

REALGetStringData is more modern and encoding safe.

Thanks Christian. Your input is always appreciated.

Similarly, Xojo wants you to use REALbuildStringWithEncoding instead of REALbuildString which is deprecated.

Cheers
Grant