Branch: Tag:

2018-03-04

2018-03-04 10:35:04 by Arne Goedeke <el@laramies.com>

Stdio.File()->read(): support reading into buffer objects

15:   /* function(string|void:int) */   FILE_FUNC("close",file_close, tFunc(tOr(tStr,tVoid),tInt))   /* function(int|void,int|void:string) */ - FILE_FUNC("read",file_read, tFunc(tOr(tInt,tVoid) tOr(tInt01,tVoid),tStr8)) + FILE_FUNC("read",file_read, tOr(tFunc(tObj,tInt),tFunc(tOr(tInt,tVoid) tOr(tInt01,tVoid),tStr8)))   /* function(float|int|void:int) */   FILE_FUNC("peek",file_peek, tFunc(tOr3(tFlt,tInt,tVoid) tOr(tInt,tVoid), tInt))   /* function(string|array(string),mixed...:int) */