StreamPeer.putUtf8String

Puts a zero-terminated UTF-8 string into the stream prepended by a 32 bits unsigned integer representing its size. Note: To put an UTF-8 string without prepending its size, you can use putData:

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

Detailed Description

put_data("Hello world".to_utf8())

Meta