(dAtA []byte)
| 1186 | return nil |
| 1187 | } |
| 1188 | func (m *EncodedErrorLeaf) Unmarshal(dAtA []byte) error { |
| 1189 | l := len(dAtA) |
| 1190 | iNdEx := 0 |
| 1191 | for iNdEx < l { |
| 1192 | preIndex := iNdEx |
| 1193 | var wire uint64 |
| 1194 | for shift := uint(0); ; shift += 7 { |
| 1195 | if shift >= 64 { |
| 1196 | return ErrIntOverflowErrors |
| 1197 | } |
| 1198 | if iNdEx >= l { |
| 1199 | return io.ErrUnexpectedEOF |
| 1200 | } |
| 1201 | b := dAtA[iNdEx] |
| 1202 | iNdEx++ |
| 1203 | wire |= uint64(b&0x7F) << shift |
| 1204 | if b < 0x80 { |
| 1205 | break |
| 1206 | } |
| 1207 | } |
| 1208 | fieldNum := int32(wire >> 3) |
| 1209 | wireType := int(wire & 0x7) |
| 1210 | if wireType == 4 { |
| 1211 | return fmt.Errorf("proto: EncodedErrorLeaf: wiretype end group for non-group") |
| 1212 | } |
| 1213 | if fieldNum <= 0 { |
| 1214 | return fmt.Errorf("proto: EncodedErrorLeaf: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1215 | } |
| 1216 | switch fieldNum { |
| 1217 | case 1: |
| 1218 | if wireType != 2 { |
| 1219 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 1220 | } |
| 1221 | var stringLen uint64 |
| 1222 | for shift := uint(0); ; shift += 7 { |
| 1223 | if shift >= 64 { |
| 1224 | return ErrIntOverflowErrors |
| 1225 | } |
| 1226 | if iNdEx >= l { |
| 1227 | return io.ErrUnexpectedEOF |
| 1228 | } |
| 1229 | b := dAtA[iNdEx] |
| 1230 | iNdEx++ |
| 1231 | stringLen |= uint64(b&0x7F) << shift |
| 1232 | if b < 0x80 { |
| 1233 | break |
| 1234 | } |
| 1235 | } |
| 1236 | intStringLen := int(stringLen) |
| 1237 | if intStringLen < 0 { |
| 1238 | return ErrInvalidLengthErrors |
| 1239 | } |
| 1240 | postIndex := iNdEx + intStringLen |
| 1241 | if postIndex < 0 { |
| 1242 | return ErrInvalidLengthErrors |
| 1243 | } |
| 1244 | if postIndex > l { |
| 1245 | return io.ErrUnexpectedEOF |
no test coverage detected