Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

Method Stdio.File()->read_function()


Method read_function

function(:string) 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.