Your solution is wrong. You stringBuffer may not have the enough space to store 
the string. You must alloc the buffer to ensure it have enough space. For 
example: var stringBuffer = T(bufferSize)

Reply via email to