Finding size of a google protocol buffer object

I’ve looked through ProtoBuf.jl, and nothing has jumped out. Short of calling writeproto(), is there a way of finding the size of the binary-formatted object?