Closed tdz closed 7 years ago
Should the high-level API be located in cc3200::io rather than c3200::simplelink?
I pushed an update with the requested small fixes and cleanups. The Read::read_to_end method now work without the additional intermediate copy; it resizes the read buffer in a way similar to the read methods in std::io. The remove function now returns errors.
I agree with moving that to cc3200::io
I pushed an update with the code now being located in cc3200:io and the no-op flush() and sync() methods being removed.
I updated the API to be like the Rust file API. I also added a simple example.