Swiftly shift bits and protect yourself
Swift is high level programming language and it’s not easy to work low level operations in general. It’s possible though.
When I work with bytes and bits I need to pay attention to the size of type. I can do anything until it’s in type…