Fix
- Fix
BinaryReader#align(_:)
rewinds reader- Before: call
reader.align(2)
whenreader.pointer == 1
,reader.pointer
will be 0 (rewind) - After: call
reader.align(2)
whenreader.pointer == 1
,reader.pointer
will be 2
- Before: call
BinaryReader#align(_:)
rewinds reader
reader.align(2)
when reader.pointer == 1
, reader.pointer
will be 0 (rewind)reader.align(2)
when reader.pointer == 1
, reader.pointer
will be 2