Click or drag to resize

StreamPeerPutUtf8String Method

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(Byte):

put_data("Hello world".to_utf8())

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void PutUtf8String(
	string value
)

Parameters

value
Type: SystemString

[Missing <param name="value"/> documentation for "M:Godot.StreamPeer.PutUtf8String(System.String)"]

See Also