Bouke / HAP

Swift implementation of the Homekit Accessory Protocol
https://boukehaarsma.nl/HAP/
MIT License
364 stars 50 forks source link

Clarify endianness in integer byte accessor #158

Closed Bouke closed 1 year ago

Bouke commented 1 year ago

Replace .bytes with .bigEndianBytes and introduce .littleEndianBytes. This should make HAP also play nice(r) on BE platforms.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication