mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
Fixed a problem with unnecessary skipping of bits (causing nlength and length problem).
This commit is contained in:
@@ -88,6 +88,7 @@ class DataWithPointer {
|
||||
// MARK: Manipulations with index and bitShift
|
||||
|
||||
func skipUntilNextByte() {
|
||||
guard self.bitShift != 0 else { return }
|
||||
self.index += 1
|
||||
self.bitShift = 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user