Wednesday, May 23, 2012

Re: Read in binary file into byte[] ?

they mention passing the binary data using utf strings. I wonder if in the server side we can use TextResource.getText().getBytes("UTF-8") safely for that.

Also it uses JavaScript typed arrays (new FLoat32Array) for accssing the array in javascript but I wonder if that is really neccesary.

Very nice video thanks for sharing.

On Wed, 23 May 2012 10:18:12 -0700 (PDT)
Joseph Lust <lifeoflust@gmail.com> wrote:

> See the Google IO games lecture @ 33:50, they discuss this issue in GWT
> with binary data transfers:
> http://www.youtube.com/watch?v=NNmoEOpGJdk
>
>
> Sincerely,
> Joseph
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/s-mnpgM9x3MJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>


--
Sebastian Gurin <sgurin@softpoint.org>

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

No comments:

Post a Comment