mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(Reset): new public method.
This commit is contained in:
@@ -45,6 +45,11 @@ namespace GameRes.Formats
|
|||||||
int m_bits = 0;
|
int m_bits = 0;
|
||||||
int m_cached_bits = 0;
|
int m_cached_bits = 0;
|
||||||
|
|
||||||
|
public void Reset ()
|
||||||
|
{
|
||||||
|
m_cached_bits = 0;
|
||||||
|
}
|
||||||
|
|
||||||
public int GetNextBit ()
|
public int GetNextBit ()
|
||||||
{
|
{
|
||||||
return GetBits (1);
|
return GetBits (1);
|
||||||
|
|||||||
Reference in New Issue
Block a user