class IO::Stream::Generic

def readpartial(size = nil)

This is a compatibility shim for existing code that uses `readpartial`.
def readpartial(size = nil)
	read_partial(size) or raise EOFError, "Encountered eof while reading data!"
end