lib/traildb.js
function (uuid) {
  uuid = ref.reinterpret(uuid, 16).toString('hex');
  return [
    uuid.slice(0, 8),
    uuid.slice(8, 12),
    uuid.slice(12, 16),
    uuid.slice(16, 20),
    uuid.slice(20, 32)
  ].join('-');
}
function (uuid) {
  uuid = ref.reinterpret(uuid, 16).toString('hex');
  return [
    uuid.slice(0, 8),
    uuid.slice(8, 12),
    uuid.slice(12, 16),
    uuid.slice(16, 20),
    uuid.slice(20, 32)
  ].join('-');
}
function ( uuid ) { uuid = ref . reinterpret ( uuid , 16 ) . toString ( 'hex' ) ; return [ uuid . slice ( 0 , 8 ) , uuid . slice ( 8 , 12 ) , uuid . slice ( 12 , 16 ) , uuid . slice ( 16 , 20 ) , uuid . slice ( 20 , 32 ) ] . join ( '-' ) ; }
Returns a UUID hex string.
@param {Array[Byte]} uuid - UUID buffer.
@return {String} uuid - UUID string.
Returns a UUID hex string .