Here you can find the source of littleEndToChar(byte[] array, int start)
public static char littleEndToChar(byte[] array, int start)
//package com.java2s; public class Main { /**//from w w w. j a va2 s .c om * \copydoc littleEndToLong() **/ public static char littleEndToChar(byte[] array, int start) { return (char) ((array[start + 1] << 8) | (array[start] & 0xFF)); } }