Click or drag to resize

StreamPeerGetUtf8String Method

Gets an UTF-8 string with byte-length bytes from the stream (this decodes the string sent as UTF-8). If bytes is negative (default) the length will be read from the stream using the reverse process of PutUtf8String(String).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public string GetUtf8String(
	int bytes = -1
)

Parameters

bytes (Optional)
Type: SystemInt32

[Missing <param name="bytes"/> documentation for "M:Godot.StreamPeer.GetUtf8String(System.Int32)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Godot.StreamPeer.GetUtf8String(System.Int32)"]

See Also