Network.SendRaw¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The input to send to the peer. | StringBytes |
||
Output ➡️ |
Outputs the input value, passed through unchanged. | Any |
||
Peer |
No | The optional explicit peer to send packets to. | Var: Network.Peer |
Var(Object) |
This shard sends the input byte array or string to the peer specified in the Peer parameter.
Details¶
Unlike the Network.Send shard, Network.SendRaw does not convert the input into a bytes sequence before sending it over the network and thus is faster. However, it can only accept a bytes sequence or string as input.