class BinaryReader {

	public String readUnicodeString(long index) throws IOException {
		StringBuffer buffer = new StringBuffer();
		while (index < length()) {
			int ch = readUnsignedShort(index);
			if (ch == 0) {
				break;
			}
			buffer.append((char) ch);
			index += 2;
		}
		return buffer.toString().trim();
	}

	public  BinaryReader(ByteProvider provider, boolean isLittleEndian);

}