static void OnWriteCallback(IntPtr handle, int status) { var request = NativeHandle.GetDataFromHandle <WriteRequest>(handle); request.OnWriteCallback(status); }