public synchronized void write(byte[] b, int off, int len) throws IOException { for (int i = 0; i < len; i++) { write(b[off + i]); } } }
public String stringify() { StringWriter bs; MarshalOutputStream s = new EncapsOutputStream(factory); s.putEndian(); write((OutputStream) s); bs = new StringWriter(); try { s.writeTo(new HexOutputStream(bs)); } catch (IOException ex) { throw wrapper.stringifyWriteError(ex); } return ORBConstants.STRINGIFY_PREFIX + bs; }
public String stringify() { StringWriter bs; MarshalOutputStream s = new EncapsOutputStream(factory); s.putEndian(); write((OutputStream) s); bs = new StringWriter(); try { s.writeTo(new HexOutputStream(bs)); } catch (IOException ex) { throw wrapper.stringifyWriteError(ex); } return ORBConstants.STRINGIFY_PREFIX + bs; }
public synchronized void write(byte[] b) throws IOException { write(b, 0, b.length); }
public synchronized void write(byte[] b) throws IOException { write(b, 0, b.length); }
public synchronized void write(byte[] b, int off, int len) throws IOException { for (int i = 0; i < len; i++) { write(b[off + i]); } } }