On Thu, Dec 16, 2010 at 04:11, leo <kmukes...@gmail.com> wrote:
> I am planning to use 'Protocol Buffers' in one of my Java ME project
> which requires server to send catalogs (possibly with images). Can I
> send images (PNG format) using 'Protocol Buffers'?

With the type 'bytes', you can send arbitrary binary data.

The only limit is the 'reasonable size', i.e. your messages should
typically not be bigger than a couple of megabytes with an absolute
maximum of 2G ... but that will not be a problem for smallish images I
suppose.

-h

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to