Answers for "how to create NSDAta from hexvalues"

0

how to recieve hex value from NSData swift

extension NSData {

    func hexString() -> String {
        return UnsafeBufferPointer<UInt8>(start: UnsafePointer<UInt8>(bytes), count: length)
            .reduce("") { $0 + String(format: "%02x", $1) }
    }

}
Posted by: Guest on June-26-2020

Code answers related to "how to create NSDAta from hexvalues"

Code answers related to "Swift"

Browse Popular Code Answers by Language