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