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:

More...
struct StreamPeer
@nogc nothrow
void
putString
(
in String value
)

Detailed Description

put_data("Hello world".to_ascii())

Meta