Home | History | Annotate | Download | only in issue_322
      1 syntax = "proto2";
      2 import 'nanopb.proto';
      3 
      4 message DefaultsMsg {
      5     optional bytes b1 = 1 [default = "\xDE\xAD\x00\xBE\xEF", (nanopb).max_size = 5, (nanopb).fixed_length=true];
      6     optional bytes b2 = 2 [default = "\xDE\xAD\x00\xBE\xEF", (nanopb).max_size = 5];
      7     optional bytes b3 = 3 [default = "\xDE\xAD\000\xBE\xEF", (nanopb).max_size = 15];
      8     optional string s1 = 4 [default = "", (nanopb).max_size = 8];
      9 }
     10 
     11 
     12