Next-methods function

Obtains a chunk of data from the stream