package com.kook.ch15Project; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.util.Arrays; //read()와 write()메서드 사용법 public class Ex15_02 { public static void main(String[] args) { byte[] inSrc = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; //읽어올 바이트 배열 byte[] outSrc = null; //출력할 바이트 배열 byte[] temp = new byte[10]; //임시 배열 ByteArrayInputStream input = null; ByteArrayOutp..