Commit a08654a
committed
Add TypeBinaryStruct class
This patch introduces the `TypeBinaryStruct` class to handle attributes that are of binary type and
structured as a `struct` in the `rt-addr`. Unlike the standard `TypeBinary`, `TypeBinaryStruct` has
a defined structure, so the `struct_member` should be `optional<T>` and the `presence_type` is `flag`.
Signed-off-by: Zibo Gong <[email protected]>1 parent 23e8df2 commit a08654a
1 file changed
+34
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
516 | 546 | | |
517 | 547 | | |
518 | 548 | | |
| |||
867 | 897 | | |
868 | 898 | | |
869 | 899 | | |
870 | | - | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
871 | 904 | | |
872 | 905 | | |
873 | 906 | | |
| |||
0 commit comments