 
     internal mutating func decodeRepeatedSInt64Field(value: inout [Int64]) throws {
         switch fieldWireFormat {
-        case WireFormat.varint.rawValue:
+        case WireFormat.varint:
             let varint = try decodeVarint()
             value.append(ZigZag.decoded(varint))
             consumed = true
-        case WireFormat.lengthDelimited.rawValue:
+        case WireFormat.lengthDelimited:
             var n: Int = 0
             let p = try getFieldBodyBytes(count: &n)
             var decoder = BinaryDecoder(forReadingFrom: p, count: n)


    internal mutating func decodeRepeatedInt64Field(value: inout [Int64]) throws {
        switch fieldWireFormat {
        case WireFormat.varint.rawValue:
            let varint = try decodeVarint()
            value.append(Int64(bitPattern: varint))
            consumed = true
        case WireFormat.lengthDelimited.rawValue:
            var n: Int = 0
            let p = try getFieldBodyBytes(count: &n)
            var decoder = BinaryDecoder(forReadingFrom: p, count: n)

    }

    internal mutating func decodeSingularStringField(value: inout String?) throws {
        guard fieldWireFormat == WireFormat.lengthDelimited else {
            throw BinaryDecodingError.schemaMismatch
        }
        var n: Int = 0
