* [base64] initial Base-64 re-implementation
* Add BufferView._assertBounds() functions
- they act the same as the _checkBounds() functions
- but only in debug mode
* Improve BufferView slicing
- when all the necessary checking has been done, the BufferView initializer doesn’t need to validate the buffer length another time.
* remove premature reference to typealias
* add the `unsafe` particle to an initializer argument label
* [base64] modify Base64 with `OutputBuffer` and `BufferView`
* remove unused bits in OutputBuffer
* express a cascaded if statement as a switch
* make internal decoding initializer failable
* Update Sources/FoundationEssentials/Data/Data+Base64.swift
Co-authored-by: Elliot Knight <63256761+Harry-KNIGHT@users.noreply.github.com>
---------
Co-authored-by: Elliot Knight <63256761+Harry-KNIGHT@users.noreply.github.com>
* Revert "Create FoundationInternals, an internal module to host shared files used by FoundationInternationalization and FoundationEssentials (#101)"
This reverts commit 8f08a649db1f3eb31593cdae7a30c5e95cb614a7.
* Reapply fb718cd3fb9f058a5fd6d736cec9c2b99d6f7dc6 fix to the other restored LockedState
* Create FoundationInternals, an internal module to host shared files used by FoundationInternationalization and FoundationEssentials
- Modules will access FoundationInternals types with `package import FoundationInternals`. This is currently an experimental feature of `AccessLevelOnImport`.
- Move `LockedState` to FoundationInternals and publicize functions needed by other modules.