Fixed problem demonstrated by RepeatEosBit test + bumped copyrights
This commit is contained in:
parent
86c9b7dccb
commit
f8ead93c5a
|
@ -46,7 +46,7 @@ namespace Kaitai
|
|||
/// </summary>
|
||||
public bool IsEof
|
||||
{
|
||||
get { return BaseStream.Position >= BaseStream.Length; }
|
||||
get { return BaseStream.Position >= BaseStream.Length && BitsLeft == 0; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue