Unsafe Territory! Understanding Raw Bytes and Pointers in Swift
Unsafe Territory! Understanding Raw Bytes and Pointers in Swift DECEMBER 21, 2020 | MISCHA HILDEBRAND It’s rare that you juggle with bits and bytes in Swift because of its neat static type system. Most of the time, you don’t care what’s under the...
How to Validate Your Data with a Cyclic Redundancy Check (CRC)
How to Validate Your Data with a Cyclic Redundancy Check (CRC) NOVEMBER 13, 2020 | GHULAM NASIR The cool thing about programming is that there is an absolute truth in every Bit: It’s either black or white, 1 or 0, true or false. In theory. But whenever you...
Data Integrity: CRC with Swift on iOS
Data Integrity: CRC with Swift on iOS NOVEMBER 13, 2020 | GHULAM NASIR When working with any communication or storage medium such as Bluetooth, wi-fi (and even wired networks) or disk storage, data can get corrupted. In such cases, we need to make sure that the data...
