...
SetByteEventPort(port As Object) As Void
SetByteArrayEventPort
This method works like SetByteEventPort but causes roStreamByteArrayEvent messages to be posted to the message port when data is received. For some object types (e.g. roTCPStream), this can be much more efficient since data no longer needs to be delivered to BrightScript a byte at a time.
...