https://issuetracker.unity3d.com/issues/mono-socket-dot-receiveasync-memory-socketflags-doesnt-change-the-underlying-array-of-memory
Unity Issue Tracker - [Mono] Socket.ReceiveAsync(MemoryT, SocketFlags) doesn't change the...
Reproduction steps:1. Download and open the attached project2. Enter Play mode2. Observe the Console window Expected result: No erro...
issue tracker
https://learn.microsoft.com/en-us/dotnet/api/system.memory-1.pin?view=net-6.0
MemoryT.Pin Method (System) | Microsoft Learn
pinmethodsystemmicrosoftlearn
https://learn.microsoft.com/pl-pl/dotnet/api/system.memory-1.toarray?view=net-9.0
MemoryT.ToArray Method (System) | Microsoft Learn
Copies the contents from the memory into a new array.
toarraymethodsystemmicrosoftlearn