-Clazz.load (null, "java.io.InputStream", ["java.io.IOException", "java.lang.IndexOutOfBoundsException", "$.NullPointerException"], function () {\r
-c$ = Clazz.declareType (java.io, "InputStream");\r
-Clazz.defineMethod (c$, "read", \r
-function (b, off, len) {\r
-if (b == null) {\r
-throw new NullPointerException ();\r
-} \r
- if (arguments.length == 1) { off = 0; len = b.length; }\r
-\r
-if (off < 0 || len < 0 || len > b.length - off) {\r
-throw new IndexOutOfBoundsException ();\r
-} else if (len == 0) {\r
-return 0;\r
-}var c = this.readByteAsInt ();\r
-if (c == -1) {\r
-return -1;\r
-}b[off] = c;\r
-var i = 1;\r
-try {\r
-for (; i < len; i++) {\r
-c = this.readByteAsInt ();\r
-if (c == -1) {\r
-break;\r
-}b[off + i] = c;\r
-}\r
-} catch (ee) {\r
-if (Clazz.exceptionOf (ee, java.io.IOException)) {\r
-} else {\r
-throw ee;\r
-}\r
-}\r
-return i;\r
-}, "~A,~N,~N");\r
-Clazz.defineMethod (c$, "skip", \r
-function (n) {\r
-var remaining = n;\r
-var nr;\r
-if (java.io.InputStream.skipBuffer == null) java.io.InputStream.skipBuffer = Clazz.newByteArray (2048, 0);\r
-var localSkipBuffer = java.io.InputStream.skipBuffer;\r
-if (n <= 0) {\r
-return 0;\r
-}while (remaining > 0) {\r
-nr = this.read (localSkipBuffer, 0, Math.min (2048, remaining));\r
-if (nr < 0) {\r
-break;\r
-}remaining -= nr;\r
-}\r
-return n - remaining;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "available", \r
-function () {\r
-return 0;\r
-});\r
-Clazz.defineMethod (c$, "close", \r
-function () {\r
-});\r
-Clazz.defineMethod (c$, "mark", \r
-function (readlimit) {\r
-}, "~N");\r
-Clazz.defineMethod (c$, "reset", \r
-function () {\r
-throw new java.io.IOException ("mark/reset not supported");\r
-});\r
-Clazz.defineMethod (c$, "markSupported", \r
-function () {\r
-return false;\r
-});\r
-Clazz.defineMethod (c$, "resetStream", \r
-function () {\r
-});\r
-Clazz.defineStatics (c$,\r
-"SKIP_BUFFER_SIZE", 2048,\r
-"skipBuffer", null);\r
-});\r
+Clazz.load (null, "java.io.InputStream", ["java.io.IOException", "java.lang.IndexOutOfBoundsException", "$.NullPointerException"], function () {
+c$ = Clazz.declareType (java.io, "InputStream");
+Clazz.defineMethod (c$, "read",
+function (b, off, len) {
+if (b == null) {
+throw new NullPointerException ();
+}
+ if (arguments.length == 1) { off = 0; len = b.length; }
+
+if (off < 0 || len < 0 || len > b.length - off) {
+throw new IndexOutOfBoundsException ();
+} else if (len == 0) {
+return 0;
+}var c = this.readByteAsInt ();
+if (c == -1) {
+return -1;
+}b[off] = c;
+var i = 1;
+try {
+for (; i < len; i++) {
+c = this.readByteAsInt ();
+if (c == -1) {
+break;
+}b[off + i] = c;
+}
+} catch (ee) {
+if (Clazz.exceptionOf (ee, java.io.IOException)) {
+} else {
+throw ee;
+}
+}
+return i;
+}, "~A,~N,~N");
+Clazz.defineMethod (c$, "skip",
+function (n) {
+var remaining = n;
+var nr;
+if (java.io.InputStream.skipBuffer == null) java.io.InputStream.skipBuffer = Clazz.newByteArray (2048, 0);
+var localSkipBuffer = java.io.InputStream.skipBuffer;
+if (n <= 0) {
+return 0;
+}while (remaining > 0) {
+nr = this.read (localSkipBuffer, 0, Math.min (2048, remaining));
+if (nr < 0) {
+break;
+}remaining -= nr;
+}
+return n - remaining;
+}, "~N");
+Clazz.defineMethod (c$, "available",
+function () {
+return 0;
+});
+Clazz.defineMethod (c$, "close",
+function () {
+});
+Clazz.defineMethod (c$, "mark",
+function (readlimit) {
+}, "~N");
+Clazz.defineMethod (c$, "reset",
+function () {
+throw new java.io.IOException ("mark/reset not supported");
+});
+Clazz.defineMethod (c$, "markSupported",
+function () {
+return false;
+});
+Clazz.defineMethod (c$, "resetStream",
+function () {
+});
+Clazz.defineStatics (c$,
+"SKIP_BUFFER_SIZE", 2048,
+"skipBuffer", null);
+});