you should use `writeStringToMemory`