StreamPeerGetData 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 block until the desired amount is received. This function returns two values, an Error code and a data array.
Namespace: Godot
public Array GetData( int bytes )
[Missing <param name="bytes"/> documentation for "M:Godot.StreamPeer.GetData(System.Int32)"]
[Missing <returns> documentation for "M:Godot.StreamPeer.GetData(System.Int32)"]