Function MultiplayerAPI.sendBytes

Sends the given raw bytes to a specific peer identified by id (see NetworkedMultiplayerPeer.setTargetPeer). Default ID is 0, i.e. broadcast to all peers.

godot.core.defs.GodotError sendBytes (
  const(PoolArray!(ubyte)) bytes,
  const(long) id = 0L,
  const(long) mode = 2L
) nothrow @nogc;