Skip to content

Replace `Foundation.Data` with `[UInt8]` type everywhere

Nathan Harris requested to merge 29-replace-data into master

Motivation:

Foundation.Data is known to be more expensive than is necessary for this low level of a library, and has some quirks with its usage.

Results:

This library now works with byte arrays ([UInt8]) directly, and all references to Foundation now explicitly import the exact types they need.

Merge request reports