Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
BrightScript Version Navigation Menu
BrightScript Version Navigation Menu
nopaneltrue

...

Sets the message port that roStreamLineEvent events will be posted to.

SetByteEventPort(messagePort As Object)

Sets the message port that roStreamByteEvent events will be posted to to.

SetByteArrayEventPort(messagePort As Object)

...

SetReceiveEol(messagePort As String or roByteArray)

Sets the sequence that will signify the end of line and cause a roStreamLineEvent to be delivered to the message port set by SetLineEventPort. If you need to set this value to a non-printing character, use the chr() global function or an roByteArrayIf the sequence contains NUL bytes it must be passed as an roByteArray since strings may not contain NUL bytes.

To use a NUL byte as a line terminator:

...