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

Method ReadInt32

Source/Engine/Networking/NetworkMessage.cs:97–102  ·  view source on GitHub ↗

Reads and returns data of type from the message.

()

Source from the content-addressed store, hash-verified

95 /// Reads and returns data of type <see cref="Int32"/> from the message.
96 /// </summary>
97 public int ReadInt32()
98 {
99 int value = 0;
100 ReadBytes((byte*)&value, sizeof(int));
101 return value;
102 }
103
104 /// <summary>
105 /// Writes data of type <see cref="Int16"/> into the message.

Callers

nothing calls this directly

Calls 1

ReadBytesFunction · 0.85

Tested by

no test coverage detected