| 49 | } |
| 50 | |
| 51 | void formatUUID(const UInt8 * src16, UInt8 * dst36) |
| 52 | { |
| 53 | formatHex(&src16[0], &dst36[0], 4); |
| 54 | dst36[8] = '-'; |
| 55 | formatHex(&src16[4], &dst36[9], 2); |
| 56 | dst36[13] = '-'; |
| 57 | formatHex(&src16[6], &dst36[14], 2); |
| 58 | dst36[18] = '-'; |
| 59 | formatHex(&src16[8], &dst36[19], 2); |
| 60 | dst36[23] = '-'; |
| 61 | formatHex(&src16[10], &dst36[24], 6); |
| 62 | } |
| 63 | |
| 64 | /** Function used when byte ordering is important when parsing uuid |
| 65 | * ex: When we create an UUID type |
no test coverage detected