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

Method ReadBoolean

Source/Engine/Networking/NetworkStream.cs:438–443  ·  view source on GitHub ↗

Reads and returns data of type from the message.

()

Source from the content-addressed store, hash-verified

436 /// Reads and returns data of type <see cref="Boolean"/> from the message.
437 /// </summary>
438 public bool ReadBoolean()
439 {
440 bool value = default;
441 ReadBytes((byte*)&value, sizeof(bool));
442 return value;
443 }
444
445 /// <summary>
446 /// Writes the <see cref="INetworkSerializable"/> object data to the stream. Object has to be allocated.

Callers 13

LoadSignatureMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45
ReadMethod · 0.45

Calls 1

ReadBytesFunction · 0.85

Tested by

no test coverage detected