Endianness Protcol

(Alsey Miller) #1

I have been working with BlueZ with Swift on Linux recently, and I noticed how all the integer types implemented “littleEndian” and “ bigEndian”. I believe this should be formalized in a protocol. I personally need this so I can write protocol extensions for all types that implement those methods.