23 Commits
Author SHA1 Message Date
Matt Rubin 50516bdb7c [Lint] Prefer isMultiple(of:) instead of the remainder operator (%) 2022-06-22 11:50:44 -04:00
Matt Rubin a5ea490966 Update copyright dates 2019-06-09 17:11:50 -04:00
Matt Rubin 99a9e96356 Migrate the Base16 implementation to the new withUnsafeBytes API 2019-06-09 16:29:14 -04:00
Matt Rubin 09b92a10fe Add Info.plist files to the frameworks 2018-12-13 11:50:26 -05:00
Matt Rubin b2966ecfb6 Add support for decoding lowercased Base16 strings 2018-12-12 16:39:21 -05:00
Matt Rubin 26c112f9bd Test encoding and decoding the full Base16 alphabet, and fix a bug 2018-12-12 16:37:59 -05:00
Matt Rubin 5a2b8f6f33 Refactor Base16 character decoding 2018-12-12 15:02:07 -05:00
Matt Rubin 9bc4daad47 Move Base16 encoding/decoding tables to a dedicated file
This is a bit of a hack to try to fix an issue with code coverage reporting on a target with only one source file.
2018-12-12 14:42:22 -05:00
Matt Rubin 9dd6501e30 [Lint] Clean up whitespace around commas, and fix table indentation 2018-12-12 04:59:55 -05:00
Matt Rubin 9a47e09f3e [Lint] Clean up formatting of collection literals 2018-12-12 04:29:41 -05:00
Matt Rubin f820d9c1b8 Refactor the byte count error handling in Base16 decoding 2017-02-09 23:23:09 -05:00
Matt Rubin 2e29fe315b Replace force-unwrapping with an explicit fatal error in Base16 encoding 2017-02-09 23:19:39 -05:00
Matt Rubin 208388e67d Throw an Error.nonAlphabetCharacter when decoding a non-ASCII string 2017-02-09 23:11:28 -05:00
Matt Rubin 05f5825e3f Fix crash caused by ASCII but non-alphabet character in Base16 decoding 2017-02-09 23:08:42 -05:00
Matt Rubin 78c69e99cf Convert Base16 decode(_:) to throw instead of returning an optional 2017-02-09 22:55:23 -05:00
Matt Rubin e3b567f9ac Replace comment references to NSData with references to Data 2017-02-09 22:15:07 -05:00
Matt Rubin 5f2a46bcea Fix the license information in the swift file headers 2016-11-16 19:36:32 -05:00
Matt Rubin 5329ea01e0 Clean up converted source files 2016-11-06 16:59:54 -05:00
Matt Rubin 2d530876cb Rename constants and functions to use "ByteCount" instead of "Length" 2016-11-06 16:56:33 -05:00
Matt Rubin 08d2f4a5aa Upgrade to Xcode 8.1 and Swift 3.0.1 2016-11-06 14:57:57 -05:00
Matt Rubin 6951ab07b6 Implement Base16 decoding 2016-04-28 01:59:41 -04:00
Matt Rubin 15102dfaee Implement Base16 encoding 2016-04-27 18:14:22 -04:00
Matt Rubin 91d9d518eb Add Base16 iOS framework 2016-04-27 17:39:00 -04:00