(byte[] data, int offset, int length)
| 36 | } |
| 37 | |
| 38 | public void put(byte[] data, int offset, int length) throws Exception { |
| 39 | ByteArrayOutputStream bout = new ByteArrayOutputStream(); |
| 40 | bout.write(data, offset, length); |
| 41 | put(bout.toByteArray()); |
| 42 | bout.close(); |
| 43 | } |
| 44 | |
| 45 | public void put(byte[] data) throws Exception { |
| 46 | OutputStream os = pipe.getRawEndpoint().getOutputStream(); |