()
| 116 | } |
| 117 | |
| 118 | @Override |
| 119 | public int read() throws IOException { |
| 120 | return (read(singleByte) == 1) ? UnsignedBytes.toInt(singleByte[0]) : -1; |
| 121 | } |
| 122 | |
| 123 | // TODO(chrisn): Consider trying to encode/flush directly to the argument byte |
| 124 | // buffer when possible. |
no test coverage detected