MCPcopy Create free account
hub / github.com/Segs/Segs / GetWritePos

Method GetWritePos

Components/BitStream.h:88–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 uint32_t GetReadPos() const { return (m_read_off<<3) + m_read_bit_off;}
87 void SetWritePos(uint32_t pos) { m_write_off = pos >> 3; m_write_bit_off = uint8_t(pos & 0x7);}
88 uint32_t GetWritePos() const { return (m_write_off<<3) + m_write_bit_off;}
89
90 void UseByteAlignedMode(bool toggle);
91 void ByteAlign(bool read_part=true,bool write_part=true);

Callers 1

serializefromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected