method

readpartial

v1_9_3_125 - Show latest stable - Class: OpenSSL::Buffering
readpartial(maxlen, buf=nil)
public

Reads at most maxlen bytes from the stream. If buf is provided it must reference a string which will receive the data.

See IO#readpartial for full details.