defaults.proto 423 B

1234567891011
  1. syntax = "proto2";
  2. import 'nanopb.proto';
  3. message DefaultsMsg {
  4. optional bytes b1 = 1 [default = "\xDE\xAD\x00\xBE\xEF", (nanopb).max_size = 5, (nanopb).fixed_length=true];
  5. optional bytes b2 = 2 [default = "\xDE\xAD\x00\xBE\xEF", (nanopb).max_size = 5];
  6. optional bytes b3 = 3 [default = "\xDE\xAD\000\xBE\xEF", (nanopb).max_size = 15];
  7. optional string s1 = 4 [default = "äö", (nanopb).max_size = 8];
  8. }