Click or drag to resize

StreamPeerGetString Method

Gets a string with byte-length bytes from the stream. If bytes is negative (default) the length will be read from the stream using the reverse process of PutString(String).

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

Parameters

bytes (Optional)
Type: SystemInt32

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

Return Value

Type: String

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

See Also