Hi,

I have structured binary file specifying size of each element in bytes. How 
can I mentioned them in ptoto file?



   No. Description Data Value Variable Type  Number of bytes  1 A1 0=unuse, 
1=use byte 1  2 A2 0=unuse, 1=use byte 1  3 A3 false=unuse, true=use byte 1  
           2-2. Object[200] - this object can contains up to 200 times        
No. Description Data Value Variable Type  Number of bytes  1 B1 1 to 200 int 
4  2 B2   string 40  3 B3   string 52  4 B4 0=unuse, 1=use byte 1  5 B5 
YYYYMMDD string 16  6 B6   string 30  7 B7 0=unuse, 1=use byte 1 
 

In above example how can I define that fields B2 is string and can have up 
to 40 bytes of data?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to