Changes for protobuf support

This commit is contained in:
Topher Lamey 2011-06-21 14:13:23 -06:00 committed by Joel Dice
parent 6dc9c98604
commit 19856bc346

View File

@ -0,0 +1,36 @@
/* Copyright (c) 2011, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See license.txt for
details. */
package java.io;
public class FilterOutputStream extends OutputStream {
private OutputStream os;
public void close() throws IOException {
os.close();
}
public void flush() throws IOException {
os.flush();
}
public void write(byte[] b) throws IOException {
os.write(b);
}
public void write(byte[] b, int off, int len) throws IOException {
os.write(b, off, len);
}
public void write(int b) throws IOException {
os.write(b);
}
}