MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / ReserveCapacity

Method ReserveCapacity

Sources/Shared/IO/MemoryStream.cpp:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 void MemoryStream::ReserveCapacity(std::int64_t bytes)
164 {
165 if (_mode == AccessMode::Growable) {
166 arrayReserve(_data, _pos + bytes);
167 }
168 }
169
170 std::int64_t MemoryStream::FetchFromStream(Stream& source)
171 {

Calls 1

arrayReserveFunction · 0.85

Tested by

no test coverage detected