Java Char to Byte charToByte(char c)

Here you can find the source of charToByte(char c)

Description

char To Byte

License

Open Source License

Declaration

private static byte charToByte(char c) 

Method Source Code

//package com.java2s;

public class Main {
    private static byte charToByte(char c) {
        return (byte) "0123456789ABCDEF".indexOf(c);
    }//from   ww w  . j a  va2s.c om
}

Related

  1. char2byte(char ch)
  2. char2Byte(char ch)
  3. charToByte(char aChar)
  4. charToByte(char c)
  5. charToByte(char c)
  6. charToByte(char c)
  7. charToByte(char ch)
  8. charToByte(char ch)
  9. charToByte(char encodedChar)