[google-appengine] Re: Compressed string extractable in appengine?

2008-11-20 Thread jago
Thanks...worked great. On Nov 20, 7:37 pm, "Daniel O'Brien (Google)" <[EMAIL PROTECTED]> wrote: > The following should work, if you haven't tried something along these > lines already. > > Java: > >     String inputString = "Hello, world!"; >     byte[] input = inputString.getBytes("UTF-8"); > >

[google-appengine] Re: Compressed string extractable in appengine?

2008-11-20 Thread Daniel O'Brien (Google)
The following should work, if you haven't tried something along these lines already. Java: String inputString = "Hello, world!"; byte[] input = inputString.getBytes("UTF-8"); byte[] output = new byte[100]; Deflater compresser = new Deflater(); compresser.setInput(input);