Read a length prefixed message from a stream.
stream_read_message(stream = "stdin", offset = -1, blocking = TRUE, cpp = TRUE)
| stream | The name of the stream to read from. Defaults to |
|---|---|
| offset | The offset from the start of the file to start reading from. |
| blocking | Should the read be a blocking operation? |
| cpp | Should the C++ implementation be used? Defaults to |
The message as a string.