Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static String getString(byte[] dest, byte[] bytes, int srcPos, int length) {
System.arraycopy(bytes, srcPos, dest, 0, length);
return new String(dest);
}
}