Java tutorial
//package com.java2s; import java.math.BigInteger; public class Main { /** * Transforms a byte array to a * positive number string * @param in byte array * @return positive number string */ public static String bytesToPositiveNumString(byte[] in) { BigInteger num = new BigInteger(1, in); return num.toString(); } }