aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s001_nul_payload.vec
| 1 | case nul_payload |
| 2 | kind positive |
| 3 | exec host-logic |
| 4 | domain any |
| 5 | needs streams |
| 6 | # bytes are bytes: NUL and bytes >= 0x80 pass unchanged and in order (ST4) |
| 7 | create R W A => OK |
| 8 | write W "a\x00b\xff\x80\x00" => OK n=6 |
| 9 | read R 2 => OK n=2 data="a\x00" |
| 10 | read R 16 => OK n=4 data="b\xff\x80\x00" |
| 11 | close W => OK |
| 12 | read R 1 => OK n=0 |
| 13 | close R => OK |
| 14 | check empty |