MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / readU16

Function readU16

TheForceEngine/TFE_Asset/gmidAsset.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 u32 readU16(const u8*& buffer)
105 {
106 const u32 value = (u32)buffer[1] | ((u32)buffer[0] << 8u);
107 buffer += 2;
108
109 return value;
110 }
111
112 u32 readU8(const u8*& buffer)
113 {

Callers 1

parseGMidiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected