ProtoDef-io / protodefc

Compiler for protodef written in Rust
11 stars 3 forks source link

(Question) Constant array size #21

Open ghost opened 6 years ago

ghost commented 6 years ago

For example, field("block_light") => array(length: 2048) => ::u8; representing an array of u8 with a fixed size of 2048. Is this currently possible? If not, what is the best way to implement such a construct?