Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String a(byte[] arg5) {
        StringBuilder v1 = new StringBuilder();
        int v0;
        for (v0 = 0; v0 < arg5.length; ++v0) {
            String v2 = Integer.toHexString(arg5[v0] & 255);
            if (v2.length() == 1) {
                v1.append("0").append(v2);
            } else {
                v1.append(v2);
            }
        }

        return v1.toString();
    }
}