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

Method ReadBytes

Source/Engine/Networking/NetworkStream.cs:26–29  ·  view source on GitHub ↗

Reads raw bytes from the message into the given byte array. The buffer pointer that will be used to store the bytes. Should be of the same length as length or longer. The minimal amount of bytes that the buffer contains.

(byte* buffer, int length)

Source from the content-addressed store, hash-verified

24 /// </param>
25 /// <param name="length">The minimal amount of bytes that the buffer contains.</param>
26 public void ReadBytes(byte* buffer, int length)
27 {
28 ReadData(new IntPtr(buffer), length);
29 }
30
31 /// <summary>
32 /// Writes raw bytes into the message.

Callers

nothing calls this directly

Calls 1

ReadDataFunction · 0.85

Tested by

no test coverage detected