Changed to skip bits only (bytes included)

This commit is contained in:
Collin Smith 2020-09-02 18:19:22 -07:00
parent 4ed61438db
commit e6f4a8b222

View File

@ -86,7 +86,7 @@ public class StatListReaderTest {
(byte) 0x03, (byte) 0x02
};
final BitInput bits = ByteInput.wrap(bytes).skipBytes(24).unalign().skipBits(5);
final BitInput bits = ByteInput.wrap(bytes).unalign().skipBits(197);
final Attributes attrs = Attributes.aggregateAttributes();
final StatListReader reader = new StatListReader();
final StatListGetter stats = reader.read(attrs.base().buildList(), bits);