There are a lot of places that use unsafe code right now that really don't need to, especially in the networking code (which was the initial stuff written back in March of this year, before this repo existed).
A good example would be BufferToBufferDecompress (which also should be moved to its own method probably). It just makes spans out of the unsafe pointers. So why aren't we just using spans in everything?
There are a lot of places that use unsafe code right now that really don't need to, especially in the networking code (which was the initial stuff written back in March of this year, before this repo existed).
A good example would be BufferToBufferDecompress (which also should be moved to its own method probably). It just makes spans out of the unsafe pointers. So why aren't we just using spans in everything?