Attempts to rewind a message body and throws an exception on failure.
The body of the message will only be rewound if a call to `tell()` returns a value other than `0`.
MessageInterface $message Message to rewind:
\RuntimeException
public static function rewindBody(MessageInterface $message) : void { $body = $message->getBody(); if ($body->tell()) { $body->rewind(); } }