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 {
    private static byte uniteBytes(byte src0, byte src1) {
        byte _b0 = Byte.decode(new String(new byte[] { src0 })).byteValue();
        _b0 = (byte) (_b0 << 4);
        byte _b1 = Byte.decode(new String(new byte[] { src1 })).byteValue();
        byte ret = (byte) (_b0 | _b1);
        byte aret = Byte.decode("0x" + ret).byteValue();

        return aret;
    }
}