Here you can find the source of byteToChar(byte b)
public static char byteToChar(byte b)
//package com.java2s; //License from project: Apache License public class Main { public static char byteToChar(byte b) { return (char) b; }/*from w ww . j a va2s.c o m*/ }