Thx a lot thats exactly what we wanted !

Nicolas. B

2016-03-04 15:49 GMT+01:00 Sven Van Caekenberghe <s...@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.be...@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.cas...@inria.fr>:
> > Nicolas Berveglieri <nicolas.be...@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/artifact/book-result/Slides/Week5/C019-W5S07-Files.pdf
> >
> > --
> > Damien Cassou
> > http://damiencassou.seasidehosting.st
> >
> > "Success is the ability to go from one failure to another without
> > losing enthusiasm." --Winston Churchill
> >
>
>
>

Reply via email to