Some checks failed
[REUSE] Code Quality / REUSE (push) Has been cancelled
[Swift] Code Quality / Swift ${{ matrix.swift }} on ${{ matrix.os }} (macos-latest) (push) Has been cancelled
[Swift] Code Quality / Swift ${{ matrix.swift }} on ${{ matrix.os }} (ubuntu-latest) (push) Has been cancelled
[Swift] Test / Swift ${{ matrix.swift }} on ${{ matrix.os }} (macos-latest) (push) Has been cancelled
[Swift] Test / Swift ${{ matrix.swift }} on ${{ matrix.os }} (ubuntu-latest) (push) Has been cancelled
11 lines
221 B
Swift
11 lines
221 B
Swift
// SPDX-FileCopyrightText: 2024-2026 Neptuwunium <ada@chronovore.dev>
|
|
// SPDX-License-Identifier: EUPL-1.2
|
|
|
|
import Foundation
|
|
|
|
extension Data {
|
|
func hex() -> String {
|
|
map { String(format: "%02hhx", $0) }.joined()
|
|
}
|
|
}
|