Wrapes an input stream to cache values, optionally providing an initial value
Wraps an input stream to cache values, and provide an initial value
Input stream
Initial value
Wrapes an input stream to cache values, optionally providing an initial value
Param: r
Param: initialValue
Returns