public static void putCompressedUnicode(String input, byte[] output, int offset) {byte[] bytes = input.getBytes(ISO_8859_1);System.arraycopy(bytes, 0, output, offset, bytes.length);}

public static void PutCompressedUnicode(String input, byte[] output, int offset){byte[] bytes = ISO_8859_1.GetBytes(input);Array.Copy(bytes, 0, output, offset, bytes.Length);}
