(Reset): new public method.

This commit is contained in:
morkt 2015-08-27 03:07:38 +04:00
parent aadddecc9b
commit 21c88e184d

View File

@ -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);