//package com.nowjava;
/**时 代 J a v a - N o w J a v a . c o m**/
public class Main {
public static void main(String[] argv) throws Exception {
int[] in = new int[] { 34, 35, 36, 37, 37, 37, 67, 68, 69 };
System.out.println(java.util.Arrays.toString(convertIntArray(in)));
}
/**
* This function converts an array of type int into an array of type byte
*
* @param in
* the array to be converted
* @return out the byte-array that corresponds the input
*/
public static byte[] convertIntArray(int[] in) {
byte[] out = new byte[in.length];
/**代码未完, 请加载全部代码(NowJava.com).**/
本文系作者在时代Java发表,未经许可,不得转载。如有侵权,请联系nowjava@qq.com删除。