Friday Q&A 2017-07-28: A Binary Coder for Swift
Read OriginalThis article details the creation of a custom binary coder for Swift, leveraging the Codable protocol for serialization. It explains the approach of writing data sequentially without metadata, discusses the limitations and 'abusive' use of Codable for this purpose, and introduces custom BinaryEncodable/BinaryDecodable protocols to ensure type safety.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser