Hi jd,

I maintain a library called protobuf.js, available here:
https://github.com/sirikata/protojs

It does not implement the full specification--only message
serialization and parsing, so RPC (xhr?) and extensions must be done
in the application.

Currently the only Stream implementations are base64 string (for
browsers without typed array support), and Array of number. From
there, an Array is really simple to convert to a typed array. Also,
parsing an existing Uint8Array should work already thanks to duck-
typing.

I don't currently plan to change this because typed arrays don't allow
appending, so with the current implementation, it is probably more
efficient to do the conversion after encoding.

If you have any questions or bugs about the library, feel free to send
me an email directly.
-Patrick

On Dec 30, 9:54 am, jd <unicom...@gmail.com> wrote:
> Are there any plans for code generating javascript (using typed
> arrays) so we can use protocol buffers directly in the browser
> (chrome, mozilla, safari)

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to