1 Clazz.load (["java.io.OutputStream"], "java.io.FilterOutputStream", ["java.lang.IndexOutOfBoundsException"], function () {
2 c$ = Clazz.decorateAsClass (function () {
4 Clazz.instantialize (this, arguments);
5 }, java.io, "FilterOutputStream", java.io.OutputStream);
6 Clazz.defineMethod (c$, "jzSetFOS",
9 }, "java.io.OutputStream");
10 Clazz.defineMethod (c$, "writeByteAsInt",
12 this.out.writeByteAsInt (b);
14 Clazz.defineMethod (c$, "write",
15 function (b, off, len) {
16 if ((off | len | (b.length - (len + off)) | (off + len)) < 0) throw new IndexOutOfBoundsException ();
17 for (var i = 0; i < len; i++) {
18 this.writeByteAsInt (b[off + i]);
21 Clazz.defineMethod (c$, "flush",
25 Clazz.defineMethod (c$, "close",
30 if (Clazz.exceptionOf (ignored, java.io.IOException)) {