Home » U++ Library support » U++ Core » PipeStream - bidirectional Stream
| Re: PipeStream - bidirectional Stream [message #39159 is a reply to message #39156] |
Wed, 20 February 2013 21:41   |
|
|
| mirek wrote on Wed, 20 February 2013 20:47 | IMO, GetPos/GetLeft/GetSize etc... does not make much sense in non-seekable stream anyway (but we should update docs).
|
Looking in the docs now, it is really defined as difference between size and position... So the method in PipeStream should be renamed since it returns "number of bytes available for immediate read", which is definitely something else. What about calling it GetCount as everywhere else? Or something more descriptive like GetBytesAvailable?
Honza
|
|
|
|
Goto Forum:
Current Time: Mon Nov 03 20:01:20 CET 2025
Total time taken to generate the page: 0.04856 seconds
|