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");
>
>
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);