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

Method SetReadPos

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

Source from the content-addressed store, hash-verified

83 bool IsByteAligned() const { return m_byteAligned;}
84
85 void SetReadPos(uint32_t pos) { m_read_off = pos >> 3; m_read_bit_off = uint8_t(pos & 0x7);}
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;}

Callers 3

serializefromMethod · 0.80
EventFromStreamMethod · 0.80
EventFromStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected