Skip to content

Instantly share code, notes, and snippets.

@bigjason
Created October 21, 2014 17:23
Show Gist options
  • Select an option

  • Save bigjason/78ffe5fea7e5999ba26f to your computer and use it in GitHub Desktop.

Select an option

Save bigjason/78ffe5fea7e5999ba26f to your computer and use it in GitHub Desktop.
implicit class UUIDExtensions(wrapped: UUID) {
def pretty: String = formatUUID(wrapped)
def toBytes: Array[Byte] = uuidToBytes(wrapped)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment