sendBytes (method)
Sends an array of bytes to the server.
Syntax
- (void)sendBytes:(NSData*)data;
public func sendBytes(_ data: Data) throws -> Void
Remarks
Use this method to send Data to the remote command's stdin channel.
Note that in synchronous mode this method may block until the whole byte array is commited to the network connection. In asynchronous mode this method returns immediately; the application is eventually notified that the data has been sent via the DataSent event.