MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / WriteBytes

Method WriteBytes

Source/loadsave.cpp:208–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 void WriteBytes(const void *bytes, size_t len)
209 {
210 if (!IsValid(len))
211 return;
212
213 memcpy(&m_buffer_[m_cur_], bytes, len);
214 m_cur_ += len;
215 }
216
217 template <class T>
218 void WriteLE(T value)

Callers 2

SaveItemFunction · 0.80
SavePlayerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected