How can I erase an usb device?

How can I erase an usb device in swift?