Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.math.BigInteger;

public class Main {
    public static int bytes2int(byte[] bytes) {
        final int i = new BigInteger(bytes).intValue();
        // System.out.println("byte2int"+i);

        return i;
    }
}