zmq.msg.MsgAllocatorDirect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jeromq Show documentation
Show all versions of jeromq Show documentation
Pure Java implementation of libzmq
package zmq.msg;
import java.nio.ByteBuffer;
import zmq.Msg;
public class MsgAllocatorDirect implements MsgAllocator
{
@Override
public Msg allocate(int size)
{
return new Msg(ByteBuffer.allocateDirect(size));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy