mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
comment
This commit is contained in:
parent
136b8d9956
commit
6988853ee2
@ -56,6 +56,7 @@ internal void EnsureCapacity(int value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Copies buffer until 'Position' to a new array.</summary>
|
/// <summary>Copies buffer until 'Position' to a new array.</summary>
|
||||||
|
// Try to use ToArraySegment instead to avoid allocations!
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public byte[] ToArray()
|
public byte[] ToArray()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user