Esempio n. 1
0
 unsafe private int UvWrite(UvRequest req, UvStreamHandle handle, uv_buf_t* bufs, int nbufs, uv_write_cb cb)
 {
     return _onWrite(handle, new ArraySegment<ArraySegment<byte>>(), status => cb(req.InternalGetHandle(), status));
 }
Esempio n. 2
0
 unsafe public void write2(UvRequest req, UvStreamHandle handle, Libuv.uv_buf_t* bufs, int nbufs, UvStreamHandle sendHandle, uv_write_cb cb)
 {
     req.Validate();
     handle.Validate();
     Check(_uv_write2(req, handle, bufs, nbufs, sendHandle, cb));
 }
Esempio n. 3
0
 unsafe public static extern int uv_write2(UvRequest req, UvStreamHandle handle, uv_buf_t* bufs, int nbufs, UvStreamHandle sendHandle, uv_write_cb cb);
Esempio n. 4
0
 unsafe public void write2(UvRequest req, UvStreamHandle handle, Libuv.uv_buf_t *bufs, int nbufs, UvStreamHandle sendHandle, uv_write_cb cb)
 {
     req.Validate();
     handle.Validate();
     Check(_uv_write2(req, handle, bufs, nbufs, sendHandle, cb));
 }