6 import java.io.IOException;
7 import java.io.OutputStream;
12 public class DebugOutputStream extends OutputStream{
14 private final OutputStream os;
15 private long offset = 0L;
20 * @param os 委譲先出力ストリーム
22 public DebugOutputStream(OutputStream os){
32 private void before(){
46 * @param b {@inheritDoc}
47 * @throws IOException {@inheritDoc}
50 public void write(int b) throws IOException {
62 * @throws IOException {@inheritDoc}
65 public void close() throws IOException {
72 * @throws IOException {@inheritDoc}
75 public void flush() throws IOException {