mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
f042933334
commit
b64a170b24
@ -175,10 +175,8 @@ public ArraySegment<byte> ReadBytesSegment(int count)
|
|||||||
}
|
}
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public override string ToString()
|
public override string ToString() =>
|
||||||
{
|
$"NetworkReader pos={Position} len={Length} buffer={BitConverter.ToString(buffer.Array, buffer.Offset, buffer.Count)}";
|
||||||
return $"NetworkReader pos={Position} len={Length} buffer={BitConverter.ToString(buffer.Array, buffer.Offset, buffer.Count)}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Reads any data type that mirror supports. Uses weaver populated Reader(T).read</summary>
|
/// <summary>Reads any data type that mirror supports. Uses weaver populated Reader(T).read</summary>
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
|
Loading…
Reference in New Issue
Block a user