Here you can find the source of intToByteArray(int pSrc, byte[] pDst, int pOffset)
public static void intToByteArray(int pSrc, byte[] pDst, int pOffset)
//package com.java2s; public class Main { public static void intToByteArray(int pSrc, byte[] pDst, int pOffset) { pDst[pOffset] = (byte) (pSrc >>> 24); pDst[pOffset + 1] = (byte) (pSrc >>> 16); pDst[pOffset + 2] = (byte) (pSrc >>> 8); pDst[pOffset + 3] = (byte) pSrc; }/*ww w .jav a 2 s. c om*/ }