MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / writeSignedInt

Method writeSignedInt

Engine/source/core/stream/bitStream.cpp:365–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365void BitStream::writeSignedInt(S32 value, S32 bitCount)
366{
367 if(writeFlag(value < 0))
368 writeInt(-value, bitCount - 1);
369 else
370 writeInt(value, bitCount - 1);
371}
372
373S32 BitStream::readSignedInt(S32 bitCount)
374{

Callers 3

packDataMethod · 0.80
packUpdateMethod · 0.80
packDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected