Here you can find the source of readStringUTF16LE(byte[] var0, int var1, int var2)
public static String readStringUTF16LE(byte[] var0, int var1, int var2)
//package com.java2s; //License from project: Open Source License import java.nio.charset.Charset; public class Main { public static String readStringUTF16LE(byte[] var0, int var1, int var2) { int var3 = 0; for (int var4 = 0; var4 < var2; ++var4) { if (var0[var1 + var4] == 37) { var3 = var4; break; }/*from w w w . ja v a 2 s .c om*/ } return new String(var0, var1, var3, Charset.forName("UTF-16LE")); } }