| 450 | |
| 451 | |
| 452 | class NRBFArrayOfValueWithCode(Packet): |
| 453 | fields_desc = [ |
| 454 | FieldLenField("Length", None, fmt="<I", count_of="ListOfValueWithCode"), |
| 455 | PacketListField( |
| 456 | "ListOfValueWithCode", |
| 457 | [], |
| 458 | NRBFValueWithCode, |
| 459 | count_from=lambda pkt: pkt.Length, |
| 460 | ), |
| 461 | ] |
| 462 | |
| 463 | def default_payload_class(self, payload): |
| 464 | return conf.padding_layer |
| 465 | |
| 466 | |
| 467 | # Generic record type |
no test coverage detected
searching dependent graphs…