Click or drag to resize

StreamPeerGetPartialData Method

Returns a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will return how many were actually received. This function returns two values, an Error code, and a data array.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Array GetPartialData(
	int bytes
)

Parameters

bytes
Type: SystemInt32

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

Return Value

Type: Array

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

See Also