Request: ReadAvail

BlitzMax Forums/BlitzMax Programming/Request: ReadAvail

Could a ReadAvail method be added to the TStream class that returns the number of bytes of input that can be read without blocking? I think this would be useful for various things including networking and stuff.