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

Method GetReadPos

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

Source from the content-addressed store, hash-verified

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;}
89

Callers 3

ReceivedBlockMethod · 0.80
EventFromStreamMethod · 0.80
EventFromStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected