Java Integer Convert To convertInt2Byte(int data)

Here you can find the source of convertInt2Byte(int data)

Description

convert Int Byte

License

Open Source License

Declaration

public static byte convertInt2Byte(int data) 

Method Source Code

//package com.java2s;

public class Main {

    public static byte convertInt2Byte(int data) {
        return (byte) (0xFF & data);
    }//from w  ww  . j av a2 s .  co m
}

Related

  1. convertInt(String str, int defaults)
  2. convertInt(String str, int radix)
  3. convertInt(String value)
  4. convertInt(String valueAsString)
  5. convertInt(String[] idArray)
  6. convertInt2Bytes(int data)
  7. convertInt32(int v, boolean isLE)
  8. convertInt8(int v)
  9. convertIntArray(int[] arr)