mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Motivation: If you pick the wrong type for readIn/Outbound in tests, it's better to have an error thrown than a crash. Modification: - use `tryAs` rather than `forceAs` when trying to extract the buffer element Result: better usability in tests.