예제 #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)));
 }
예제 #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)));
 }