Read a length prefixed message from a stream.
stream_read_message_cpp(stream = "stdin", offset = -1L, blocking = 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? |
The message as a string.