changes: since the inverse-MDCT uses input samples from the previous output, make...
[IRC.git] / Robust / src / ClassLibrary / BufferedOutputStream.java
index c5e8cc0185e3edfa41a7c8561398ef3485ce834c..f9a0d1f7550503e65286ae568538b648fa4e85ed 100644 (file)
@@ -1,3 +1,19 @@
-public class BufferedOutputStream {
+public class BufferedOutputStream extends OutputStream {
+  OutputStream o;
 
+  public BufferedOutputStream(OutputStream o) {
+    this.o=o;
+  }
+
+  public void write(byte [] b, int off, int len) {
+    o.write(b, off, len);
+  }
+
+  public void flush() {
+    o.flush();
+  }
+
+  public void close() {
+    o.close();
+  }
 }