MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / write32

Method write32

external/tga/encoder.cpp:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void Encoder::write32(uint32_t value)
246{
247 // Little endian
248 m_file->write8(value & 0xFF);
249 m_file->write8((value >> 8) & 0xFF);
250 m_file->write8((value >> 16) & 0xFF);
251 m_file->write8((value >> 24) & 0xFF);
252}
253
254void Encoder::write16Rgb(color_t c)
255{

Callers

nothing calls this directly

Calls 1

write8Method · 0.45

Tested by

no test coverage detected