MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ReadInt16

Method ReadInt16

Source/Engine/Networking/NetworkMessage.cs:115–120  ·  view source on GitHub ↗

Reads and returns data of type from the message.

()

Source from the content-addressed store, hash-verified

113 /// Reads and returns data of type <see cref="Int16"/> from the message.
114 /// </summary>
115 public short ReadInt16()
116 {
117 short value = 0;
118 ReadBytes((byte*)&value, sizeof(short));
119 return value;
120 }
121
122 /// <summary>
123 /// Writes data of type <see cref="SByte"/> into the message.

Callers

nothing calls this directly

Calls 1

ReadBytesFunction · 0.85

Tested by

no test coverage detected