[Pas2js] [feature request + ideas] Implementing TStream based classes (TBytesStream, TFileStream, TStringStream and so on)

silvioprog silvioprog at gmail.com
Sat Nov 17 07:16:10 CET 2018


On Tue, Nov 13, 2018 at 2:05 PM Mattias Gaertner via Pas2js <
pas2js at lists.freepascal.org> wrote:
[...]

> Do you mean the notes about Chrome FileAPI?
> How does that help to translate code like this:
>
> var i: longint;
>
>  aStream.Write(i,4);


Not to a specific browser API, but something that could work in
Chrome(-ium) 4.0+ / IE 8.0+ / Firefox 3.5+ / Safari 4.0+ / Opera 11.5+. (or
any browser based in the new webkit versions)

Finally, this weekend I'll get a free time to implement at least one stream
class and show it for you in practice.

Again, sorry for the late answers. Last days I've dedicated a good time at
night to work in the RTTI.Invoke() feature to send a patch to the FPC's
RTL. I'm motivated to contribute it because it will be very useful for a
project i'm maintaining and after reading some messages from Sven Barth (it
seems he's been worked alone in that parts). Today I finished reading the
AMD/Intel references and now I'm ready to implement it. This is my initial
work <https://github.com/silvioprog/rtti.invoke>. Also I'm ready to try to
send the streaming classes for the pastojs project!

--
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20181117/67b36430/attachment.html>


More information about the Pas2js mailing list