Function StreamPeer.putString
Puts a zero-terminated ASCII string into the stream prepended by a 32-bit unsigned integer representing its size.
Note
To put an ASCII string without prepending its size, you can use putData
:
put_data("Hello world".to_ascii())