|
|
Construct named stream from an STL stream, and tell it the size.
- Remarks:
- This variant tells the class the size of the stream too, which means this class does not need to seek to the end of the stream to determine the size up-front. This can be beneficial if you have metadata about the contents of the stream already.
- Parameters:
-
| name | The name to give this stream |
| s | Pointer to source stream |
| size | Size of the stream contents in bytes |
| freeOnClose | Whether to delete the underlying stream on destruction of this class |
|