Java Char Create toChar(byte b)

Here you can find the source of toChar(byte b)

Description

Converts (signed) byte to (unsigned) char.

License

Open Source License

Declaration

public static char toChar(byte b) 

Method Source Code

//package com.java2s;

public class Main {
    /**/*from www. j a  v  a2  s .c o  m*/
     * Converts (signed) byte to (unsigned) char.
     */
    public static char toChar(byte b) {
        return (char) (b & 0xFF);
    }
}

Related

  1. toChar(byte value)
  2. toChar(byte[] b, int off)
  3. toChar(byte[] buffer)
  4. toChar(byte[] buffer)