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

Method ReadInt2

Source/Engine/Utilities/Utils.cs:518–521  ·  view source on GitHub ↗

Reads the Int2 from the binary stream. The stream. The value.

(this BinaryReader stream)

Source from the content-addressed store, hash-verified

516 /// <param name="stream">The stream.</param>
517 /// <returns>The value.</returns>
518 public static Int2 ReadInt2(this BinaryReader stream)
519 {
520 return new Int2(stream.ReadInt32(), stream.ReadInt32());
521 }
522
523 /// <summary>
524 /// Reads the Int3 from the binary stream.

Callers 1

ReadVariantMethod · 0.80

Calls 1

ReadInt32Method · 0.45

Tested by

no test coverage detected