R
Rene
The documentation has the following remark for the ReadBlock method of the
StreamReader: "The method blocks until either count characters are read, or
all characters have been read".
What kind of blocking are they referring to? Are they referring to the
BaseStream being blocked so that no other process can read or write to it?
For example, in the case of a StreamReader based on FileStream, does this
mean that the actual file on the hard drive will be blocked for read, write
etc? Or does it mean that the stream on memory is the one that is blocked?
Is the blocking occurring for only the bytes after the FileStream position?
Am I totally not getting it?
Thanks.
StreamReader: "The method blocks until either count characters are read, or
all characters have been read".
What kind of blocking are they referring to? Are they referring to the
BaseStream being blocked so that no other process can read or write to it?
For example, in the case of a StreamReader based on FileStream, does this
mean that the actual file on the hard drive will be blocked for read, write
etc? Or does it mean that the stream on memory is the one that is blocked?
Is the blocking occurring for only the bytes after the FileStream position?
Am I totally not getting it?
Thanks.