3 Commits
Author SHA1 Message Date
Hamilton Chapman 0baf789465 Don't treat [UInt8] as a byte string.
If you want to have something treated as a byte string then you should use
`Data`.

Fixes: #58
2022-08-01 14:37:57 +01:00
Hamilton Chapman d2de0ba4e6 Update the CBOREncodable protocol to require that a toCBOR function be
implemented. The `encode` function can then rely on a default implementation
that will call `toCBOR()` and then encode the resulting `CBOR` object.
2022-06-28 12:11:01 +01:00
Hamilton Chapman 80a90c3a60 Restructure and update repository to work with modern Swift Package Manager
conventions.
2021-12-15 18:10:44 +00:00