(byte[] buf)
| 38 | } |
| 39 | |
| 40 | public int read(byte[] buf) throws IOException { |
| 41 | |
| 42 | int avail = inpStream.available(); |
| 43 | if (avail==0) return 0; |
| 44 | if (avail>buf.length) avail=buf.length; |
| 45 | return inpStream.read(buf, 0, avail); |
| 46 | } |
| 47 | |
| 48 | public void flush() throws IOException { |
| 49 | outStream.flush(); |
no outgoing calls
no test coverage detected