Skip to content

Instantly share code, notes, and snippets.

@crowjdh
Created July 6, 2022 15:01
Show Gist options
  • Save crowjdh/2ade5a03f69df14494d8ccb7783a8f4e to your computer and use it in GitHub Desktop.
Save crowjdh/2ade5a03f69df14494d8ccb7783a8f4e to your computer and use it in GitHub Desktop.
extension Data {
var hexDescription: String {
return reduce("") {$0 + String(format: "%02x", $1)}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment