jeromq icon indicating copy to clipboard operation
jeromq copied to clipboard

ZMsg/ZFrame should support byte[] buf, int ofs, int len

Open jason-s opened this issue 11 years ago • 0 comments

Related to #47: even if ByteBuffers are not supported, there is no way to send a portion of a byte[] array using ZMsg.add() or the ZFrame constructor.

The standard approach in Java is to take the argument triple (byte[] buf, int ofs, int len), representing the range buf[ofs] : buf[ofs+len-1]

jason-s avatar Mar 19 '14 22:03 jason-s