Thx a lot thats exactly what we wanted ! Nicolas. B 2016-03-04 15:49 GMT+01:00 Sven Van Caekenberghe <sven@stfx.eu>:
I am not sure I understand the question correctly, but the closest equivalent in Pharo is
readInto: collection startingAt: offset count: requestedCount "Read requestedCount elements into collection starting at offset, returning the number of elements read, there could be less elements available."
There are others, but this is a fundamental one.
On 04 Mar 2016, at 15:43, Nicolas Berveglieri <nicolas.berve@gmail.com> wrote:
Hello, we're looking for a function similar to the function read, having this prototype:
public int read(byte[] b, int off, int len) throws IOException (found there: https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html)
cheers, Nicolas. B
2016-02-26 16:24 GMT+01:00 Damien Cassou <damien.cassou@inria.fr>: Nicolas Berveglieri <nicolas.berve@gmail.com> writes:
Also we're looking for some help about file reading with pharo. We couldn't find sufficient info about it on the web, if anyone has a link to share we would be gratefull.
the Pharo Mooc contains a few slides about that:
https://ci.inria.fr/pharo-contribution/job/PharoMooc/lastSuccessfulBuild/art...
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill