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

Method Move

Source/Engine/Serialization/MemoryReadStream.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void* MemoryReadStream::Move(uint32 bytes)
27{
28 ASSERT(GetLength() - GetPosition() >= bytes);
29 const auto result = (void*)_position;
30 _position += bytes;
31 return result;
32}
33
34void MemoryReadStream::Flush()
35{

Callers 1

ReadJsonMethod · 0.45

Calls 2

GetLengthFunction · 0.50
GetPositionFunction · 0.50

Tested by

no test coverage detected