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.
| 84 | /// </param> |
| 85 | /// <param name="numBytes">The minimal amount of bytes that the buffer contains.</param> |
| 86 | FORCE_INLINE void ReadBytes(uint8* bytes, const int32 numBytes) |
| 87 | { |
| 88 | ASSERT(Position + numBytes <= BufferSize); |
| 89 | Platform::MemoryCopy(bytes, Buffer + Position, numBytes); |
| 90 | Position += numBytes; |
| 91 | } |
| 92 | |
| 93 | /// <summary> |
| 94 | /// Skips bytes from the message. |
no outgoing calls
no test coverage detected