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

Method WriteBytes

Source/Engine/Networking/NetworkStream.cs:15–18  ·  view source on GitHub ↗

Writes raw bytes into the message. The bytes that will be written. The amount of bytes to write from the bytes pointer.

(byte* bytes, int length)

Source from the content-addressed store, hash-verified

13 /// <param name="bytes">The bytes that will be written.</param>
14 /// <param name="length">The amount of bytes to write from the bytes pointer.</param>
15 public void WriteBytes(byte* bytes, int length)
16 {
17 WriteData(new IntPtr(bytes), length);
18 }
19
20 /// <summary>
21 /// Reads raw bytes from the message into the given byte array.

Callers

nothing calls this directly

Calls 1

WriteDataFunction · 0.85

Tested by

no test coverage detected