Read a length prefixed message from a stream.

stream_read_message_cpp(stream = "stdin", offset = -1L, blocking = TRUE)

Arguments

stream

The name of the stream to read from. Defaults to stdin.

offset

The offset from the start of the file to start reading from.

blocking

Should the read be a blocking operation?

Value

The message as a string.