public static String readUnicodeString(LittleEndianInput in) {int nChars = in.readUShort();byte flag = in.readByte();if ((flag & 0x01) == 0) {return readCompressedUnicode(in, nChars);}return readUnicodeLE(in, nChars);}

public static String ReadUnicodeString(ILittleEndianInput in1){int nChars = in1.ReadUShort();byte flag = (byte)in1.ReadByte();if ((flag & 0x01) == 0){return ReadCompressedUnicode(in1, nChars);}return ReadUnicodeLE(in1, nChars);}
