           break refillBuffer
         }
         // Buffering mode.
-        // Fill buffer back to 4 bytes (or as many as are left in the generator).
+        // Fill buffer back to 4 bytes (or as many as are left in the iterator).
         _sanityCheck(_bitsInBuffer < 32)
         repeat {
           if let codeUnit = next.next() {

            _decodeBuffer = UInt32(codeUnit)
            _bitsInBuffer = 8
          } else {
            _didExhaustGenerator = true
            return .emptyInput
          }
        } else if(_decodeBuffer & 0x80 == 0) {

            _decodeBuffer |= (UInt32(codeUnit) << UInt32(_bitsInBuffer & 0x1f))
            _bitsInBuffer = _bitsInBuffer &+ 8
          } else {
            _didExhaustIterator = true
            if _bitsInBuffer == 0 { return .emptyInput }
            break // We still have some bytes left in our buffer.
          }
