Метод | Описание | |
---|---|---|
BitStack ( ) : System |
Initialize stack.
|
|
PeekBit ( ) : bool |
Return the top bit on the stack without pushing or popping.
|
|
PopBit ( ) : bool |
Pop the top bit from the stack and return it.
|
|
PushBit ( bool bit ) : void |
Push a 0 or 1 bit onto the stack.
|
Метод | Описание | |
---|---|---|
PopCurr ( ) : void |
If all bits have been popped from this.curr, then pop the previous uint value from the stack in order to provide another 31 bits.
|
|
PushCurr ( ) : void |
this.curr has enough space for 31 bits (minus 1 for sentinel bit). Once this space is exhausted, a uint stack is created to handle the overflow.
|