c#:
[quoted text, click to view] > Is this line necessary?
No; BinaryReader assumes ownership of the stream, and calling Close()/
Dispose() on the BinaryReader also calls Close() on the base-stream.
Sometimes this can be rritating ;-p Some other readers offer a flag in
the constructor to specify "should I also close the base reader?" -
but not this one.
You might, however, wish to consider "using" either of the stream/
reader; this would ensure that Dispose() is called regardless of
whether your method exist cleanly or via an exception.
[quoted text, click to view] > Is there a I/O function to find the number of open Stream(s) analogous to
> LogStore.StreamCount?