   }
 
   public func findIndex(c: UInt8, startAt: Int = 0) -> Int {
-    var r = -1
     let len = _bytes.count
     let lim = len - 2
     var i = startAt

  // Used for case insensitive matching
  public mutating func matchOnEitherString(string1: String, string2: String,
      consume: Bool = false) -> Int {
    var r = -1
    var s1a = [UInt8](string1.utf8)
    var s2a = [UInt8](string2.utf8)
    let seqLen = s1a.count

    }
    while i < len {
      if _bytes[i] == c {
        return i
      }
      i += 1
    }
    return -1
  }

  public mutating func skipTo(c: UInt8) -> Int {
