MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / readBEDWord

Function readBEDWord

Source/stdafx.hpp:80–84  ·  view source on GitHub ↗

Read a LE DWord in BE

Source from the content-addressed store, hash-verified

78
79// Read a LE DWord in BE
80inline uint32 readBEDWord( const void *buffer ) {
81 const uint8* bytes = (const uint8*) buffer;
82
83 return uint32((bytes[0] << 24) + (bytes[1] << 16) + (bytes[2] << 8) + (bytes[3]));
84}
85
86// Read little endian from the buffer
87template <class tRet> inline tRet readLE(const void *pBuffer) {

Callers 8

fileDeRNCMethod · 0.85
fileGetMethod · 0.85
loadMethod · 0.85
startPatternMethod · 0.85
startSequenceMethod · 0.85
executeSongSequenceOpMethod · 0.85
setupInstrumentMethod · 0.85
DecodeIFFMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected