I have a buffer (stored in a String class) with a NULL-terminated 
C-style string inside, what's the most efficient approach to get that 
text string up to the NULL?


Best regards,

Jari Williamsson