You need to sign in or sign up before continuing.
Replace `Foundation.Data` with `[UInt8]` type everywhere
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.