Fix transfer errors, save raw data

This commit is contained in:
Christoph Hagen
2023-07-03 13:28:51 +02:00
parent 396571fd30
commit d1a24b581d
22 changed files with 369 additions and 1370 deletions

View File

@ -7,11 +7,11 @@ extension UInt16 {
}
var low: UInt8 {
UInt8(clamping: self)
UInt8(self & 0xFF)
}
var high: UInt8 {
UInt8(clamping: self >> 8)
UInt8(self >> 8 & 0xFF)
}
var integer: Int {