Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GDRETools/gdsdecomp
/ write16
Method
write16
external/tga/encoder.cpp:238–243 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
236
}
237
238
void Encoder::write16(uint16_t value)
239
{
240
// Little endian
241
m_file->write8(value & 0x00FF);
242
m_file->write8((value & 0xFF00) >> 8);
243
}
244
245
void Encoder::write32(uint32_t value)
246
{
Callers
nothing calls this directly
Calls
1
write8
Method · 0.45
Tested by
no test coverage detected