Fixed a problem with unnecessary skipping of bits (causing nlength and length problem).

This commit is contained in:
Timofey Solomko
2016-11-20 23:27:22 +03:00
parent b1d75c6c99
commit 438fbca27d
+1
View File
@@ -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
}