Method Stdio.InputStream()->read_function()


Method read_function

function(:StringType|zero) read_function(int nbytes)

Description

Returns a function that when called will call read with nbytes as argument. Can be used to get various callback functions, eg for the fourth argument to String.SplitIterator.