Add generic impl of stream .readall() method. Use one for unix io.FileIO.

This commit is contained in:
Paul Sokolovsky
2014-01-13 23:25:33 +02:00
parent 5d2499c638
commit 5225450b9f
3 changed files with 44 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
extern const mp_obj_fun_native_t mp_stream_read_obj;
extern const mp_obj_fun_native_t mp_stream_readall_obj;
extern const mp_obj_fun_native_t mp_stream_write_obj;