public static byte[] int2buff(int n){
  byte[] bs;
  bs=new byte[4];
  bs[0]=(byte)((n >> 24) & 0xFF);
  bs[1]=(byte)((n >> 16) & 0xFF);
  bs[2]=(byte)((n >> 8) & 0xFF);
  bs[3]=(byte)(n & 0xFF);
  return bs;
}

public static byte [ ] int2buff ( int n ) { byte [ ] bs ; bs = new byte [ 4 ] ; bs [ 0 ] = ( byte ) ( ( n > > 24 ) & 0xFF ) ; bs [ 1 ] = ( byte ) ( ( n > > 16 ) & 0xFF ) ; bs [ 2 ] = ( byte ) ( ( n > > 8 ) & 0xFF ) ; bs [ 3 ] = ( byte ) ( n & 0xFF ) ; return bs ; }
int convert to buff ( big - endian )
