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

Method ReadInt32

Source/Engine/Networking/NetworkStream.cs:82–87  ·  view source on GitHub ↗

Reads and returns data of type from the message.

()

Source from the content-addressed store, hash-verified

80 /// Reads and returns data of type <see cref="Int32"/> from the message.
81 /// </summary>
82 public int ReadInt32()
83 {
84 int value = 0;
85 ReadBytes((byte*)&value, sizeof(int));
86 return value;
87 }
88
89 /// <summary>
90 /// Writes data of type <see cref="Int16"/> into the message.

Callers 15

RestoreStateMethod · 0.45
loadStateMethod · 0.45
loadMethod · 0.45
CreateMethod · 0.45
IsValidShaderCacheFunction · 0.45
LoadMethod · 0.45
LoadProductMethod · 0.45
ReadInt2Method · 0.45
ReadInt3Method · 0.45
ReadInt4Method · 0.45
ReadJsonBytesMethod · 0.45
ReadJsonMethod · 0.45

Calls 1

ReadBytesFunction · 0.85

Tested by

no test coverage detected