Roman Podymov
Roman Podymov

Reputation: 4531

How to convert BitArray to Data?

I am using BitArray in my project and need to convert it to Data to pass it to writeValue(_:for:type:). Did not find corresponding method in BitArray, so should I replace BitArray with [UInt8]?

Upvotes: 1

Views: 75

Answers (0)

Related Questions