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

Function ToSpan

Source/Engine/Serialization/MemoryWriteStream.h:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118};
119
120inline Span<byte> ToSpan(MemoryWriteStream& stream)
121{
122 return Span<byte>(stream.GetHandle(), (int32)stream.GetPosition());
123}

Callers

nothing calls this directly

Calls 2

GetHandleMethod · 0.45
GetPositionMethod · 0.45

Tested by

no test coverage detected