I'm not sure if strBuffer is guaranteed to be NULL terminated?