Commit f14dcd5
committed
platform channels: helpers for decoding method calls
- add `raw_std_method_call_from_buffer` to
create a "raw_std_value" from a byte buffer
& size, and check whether its encoding is
valid
- add `platch_respond_malformed_message_std`
to send a pre-determined response if
the encoding was invalid1 parent 8870ffb commit f14dcd5
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1323 | 1327 | | |
1324 | 1328 | | |
1325 | 1329 | | |
| |||
2483 | 2487 | | |
2484 | 2488 | | |
2485 | 2489 | | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
| 1494 | + | |
| 1495 | + | |
1494 | 1496 | | |
1495 | 1497 | | |
1496 | 1498 | | |
| |||
1614 | 1616 | | |
1615 | 1617 | | |
1616 | 1618 | | |
| 1619 | + | |
1617 | 1620 | | |
1618 | 1621 | | |
1619 | 1622 | | |
| |||
0 commit comments