MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetBlockInt

Method GetBlockInt

Source/DocumentFile.cpp:267–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267int CDocumentFile::GetBlockInt()
268{
269 int Value;
270 std::memcpy(&Value, m_pBlockData.data() + m_iBlockPointer, sizeof(Value)); // // //
271 m_iPreviousPointer = m_iBlockPointer;
272 m_iBlockPointer += sizeof(Value);
273 m_iPreviousPosition = m_iFilePosition; // // //
274 m_iFilePosition += sizeof(Value);
275 return Value;
276}
277
278char CDocumentFile::GetBlockChar()
279{

Callers 14

ReadFromModuleMethod · 0.80
LoadParamsMethod · 0.80
LoadInstrumentsMethod · 0.80
LoadSequencesMethod · 0.80
LoadFramesMethod · 0.80
LoadPatternsMethod · 0.80
LoadDSamplesMethod · 0.80
LoadCommentsMethod · 0.80
LoadSequencesVRC6Method · 0.80
LoadSequencesN163Method · 0.80
LoadSequencesS5BMethod · 0.80
LoadParamsExtraMethod · 0.80

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected