Android Byte Array Convert From toByte(int byteValue)

Here you can find the source of toByte(int byteValue)

Description

to Byte

Declaration

public static byte toByte(int byteValue) 

Method Source Code

//package com.java2s;

public class Main {
    public static byte toByte(int byteValue) {
        return (byte) (byteValue & 0x000000FF);
    }//  www . ja  v  a 2 s  . com
}

Related

  1. toByteArrayFromByteWrapperArray(Byte[] B)
  2. convertIntArrayToByteArray(int[] intArray)
  3. shortToByteArray(short value)
  4. convertLongArrayToByteArray(long[] longArray)
  5. toByte(String value, byte defaultValue)
  6. toByte(int n)
  7. toByteObject(String value, Byte defaultValue)
  8. toBytes(char[] chars)
  9. toBytes(int integer)