Thanks for breaking this down Matt! Helped me a tonne!
For those trying to recreate this, I did have to change MemoryLayout.size to MemoryLayout.UInt32 to get it to not crap out at runtime with: error: UnsafeMutableRawBufferPointer.copyMemory source has too many elements
Topic:
App & System Services
SubTopic:
Networking
Tags: