|
| 1 | +<?php |
| 2 | +namespace PHPJava\Packages\java\io; |
| 3 | + |
| 4 | +use PHPJava\Exceptions\NotImplementedException; |
| 5 | +use PHPJava\Packages\java\io\FilterInputStream; |
| 6 | + |
| 7 | +// use PHPJava\Packages\java\io\Closeable; |
| 8 | +// use PHPJava\Packages\java\lang\AutoCloseable; |
| 9 | + |
| 10 | +/** |
| 11 | + * The `BufferedInputStream` class was auto generated. |
| 12 | + * |
| 13 | + * @parent \PHPJava\Packages\java\lang\_Object |
| 14 | + * @parent \PHPJava\Packages\java\io\InputStream |
| 15 | + * @parent \PHPJava\Packages\java\io\FilterInputStream |
| 16 | + */ |
| 17 | +class BufferedInputStream extends FilterInputStream /* implements Closeable, AutoCloseable */ |
| 18 | +{ |
| 19 | + /** |
| 20 | + * The internal buffer array where the data is stored. |
| 21 | + * |
| 22 | + * @var mixed $buf |
| 23 | + */ |
| 24 | + protected $buf = null; |
| 25 | + |
| 26 | + /** |
| 27 | + * The index one greater than the index of the last valid byte in the buffer. |
| 28 | + * |
| 29 | + * @var mixed $count |
| 30 | + */ |
| 31 | + protected $count = null; |
| 32 | + |
| 33 | + /** |
| 34 | + * The maximum read ahead allowed after a call to the mark method before subsequent calls to the reset method fail. |
| 35 | + * |
| 36 | + * @var mixed $marklimit |
| 37 | + */ |
| 38 | + protected $marklimit = null; |
| 39 | + |
| 40 | + /** |
| 41 | + * The value of the pos field at the time the last mark method was called. |
| 42 | + * |
| 43 | + * @var mixed $markpos |
| 44 | + */ |
| 45 | + protected $markpos = null; |
| 46 | + |
| 47 | + /** |
| 48 | + * The current position in the buffer. |
| 49 | + * |
| 50 | + * @var mixed $pos |
| 51 | + */ |
| 52 | + protected $pos = null; |
| 53 | + |
| 54 | + |
| 55 | + /** |
| 56 | + * Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream. |
| 57 | + * |
| 58 | + * @param mixed $a |
| 59 | + * @return mixed |
| 60 | + * @throws NotImplementedException |
| 61 | + * @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#available |
| 62 | + */ |
| 63 | + public function available($a = null) |
| 64 | + { |
| 65 | + throw new NotImplementedException(__METHOD__); |
| 66 | + } |
| 67 | + |
| 68 | + /** |
| 69 | + * Closes this input stream and releases any system resources associated with the stream. |
| 70 | + * |
| 71 | + * @param mixed $a |
| 72 | + * @return mixed |
| 73 | + * @throws NotImplementedException |
| 74 | + * @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#close |
| 75 | + */ |
| 76 | + public function close($a = null) |
| 77 | + { |
| 78 | + throw new NotImplementedException(__METHOD__); |
| 79 | + } |
| 80 | + |
| 81 | + /** |
| 82 | + * See the general contract of the mark method of InputStream. |
| 83 | + * |
| 84 | + * @param mixed $a |
| 85 | + * @return mixed |
| 86 | + * @throws NotImplementedException |
| 87 | + * @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#mark |
| 88 | + */ |
| 89 | + public function mark($a = null) |
| 90 | + { |
| 91 | + throw new NotImplementedException(__METHOD__); |
| 92 | + } |
| 93 | + |
| 94 | + /** |
| 95 | + * Tests if this input stream supports the mark and reset methods. |
| 96 | + * |
| 97 | + * @param mixed $a |
| 98 | + * @return mixed |
| 99 | + * @throws NotImplementedException |
| 100 | + * @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#markSupported |
| 101 | + */ |
| 102 | + public function markSupported($a = null) |
| 103 | + { |
| 104 | + throw new NotImplementedException(__METHOD__); |
| 105 | + } |
| 106 | + |
| 107 | + /** |
| 108 | + * See the general contract of the read method of InputStream. |
| 109 | + * Reads bytes from this byte-input stream into the specified byte array, starting at the given offset. |
| 110 | + * |
| 111 | + * @param mixed $a |
| 112 | + * @param mixed $b |
| 113 | + * @param mixed $c |
| 114 | + * @return mixed |
| 115 | + * @throws NotImplementedException |
| 116 | + * @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#read |
| 117 | + */ |
| 118 | + public function read($a = null, $b = null, $c = null) |
| 119 | + { |
| 120 | + throw new NotImplementedException(__METHOD__); |
| 121 | + } |
| 122 | + |
| 123 | + /** |
| 124 | + * See the general contract of the reset method of InputStream. |
| 125 | + * |
| 126 | + * @param mixed $a |
| 127 | + * @return mixed |
| 128 | + * @throws NotImplementedException |
| 129 | + * @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#reset |
| 130 | + */ |
| 131 | + public function reset($a = null) |
| 132 | + { |
| 133 | + throw new NotImplementedException(__METHOD__); |
| 134 | + } |
| 135 | + |
| 136 | + /** |
| 137 | + * See the general contract of the skip method of InputStream. |
| 138 | + * |
| 139 | + * @param mixed $a |
| 140 | + * @return mixed |
| 141 | + * @throws NotImplementedException |
| 142 | + * @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#skip |
| 143 | + */ |
| 144 | + public function skip($a = null) |
| 145 | + { |
| 146 | + throw new NotImplementedException(__METHOD__); |
| 147 | + } |
| 148 | +} |
0 commit comments