Return the write bytes when sending notification.