MCPcopy Create free account
hub / github.com/Signalsmith-Audio/reverb-example-code / write32

Method write32

wav.h:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 out.write(a, sizeof(a));
25 }
26 static void write32(std::ostream& out, uint32_t value) {
27 char a[4] = {(char)(value>>0), (char)(value>>8), (char)(value>>16), (char)(value>>24)};
28 out.write(a, sizeof(a));
29 }
30};
31
32class Wav : BigEndian<true> {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected