[This is preliminary documentation and is subject to change.]
Creates a new Message read from a Stream, if one is available.
Parameters
- stream (Stream)
- The Stream to read from.
Return Value
The created message, or null if no message was in the
stream.