protospec-build 0.3.0

One binary format language to rule them all, One binary format language to find them, One binary format language to bring them all and in the darkness bind them.
Documentation
1
2
3
4
5
6
7
8
import_ffi len as function;
import_ffi utf8 as type;

type TestContainer = container {
    name_len: u16 +auto,
    name: utf8(name_len),
    int1: u16 {len(name) > 16},
};