Convert Bytes from byte[] to data types

2016-05-29 Thread Federico Mouse
I'm making a game that receives data (string names, ints about position, etc.) via websockets, using https://github.com/sksamuel/gwt-websockets, in binary data. Is there a way to convert that data back to String, Int, etc. in GWT? -- You received this message because you are subscribed to the

Re: Convert Bytes from byte[] to data types

2016-05-29 Thread Jens
Never done it but I would say so. GWT supports new String(byte[]) with UTF-8, LATIN-1, ISO_8859_1 charsets. For numbers you probably have to use BigInteger or do the conversion yourself as GWT does not emulate ByteBuffer.wrap(..).get...() for now. -- J. -- You received this message because yo

develop chrome extensions using GWT

2016-05-29 Thread David
GWT-Chrome seems to be pretty old and uses JSNI. I like to use it to develop chrome extension. I don't know whether or not there are the latest version of it. Do you know there are any issues if I use it to develop chrome extension? Thanks, David -- You received this message because you are