Click or drag to resize

StreamPeerPutString Method

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

put_data("Hello world".to_ascii())

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

Parameters

value
Type: SystemString

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

See Also