Example #1
0
 unsafe private int UvWrite(UvRequest req, UvStreamHandle handle, uv_buf_t *bufs, int nbufs, uv_write_cb cb)
 {
     return(OnWrite(handle, nbufs, status => cb(req.InternalGetHandle(), status)));
 }
Example #2
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)));
 }