You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Manuel Simoni <ms...@gmail.com> on 2012/09/27 11:44:47 UTC

Why is there no way to get the number of bytes encoded?

I'm really puzzled by the C++ API - I must be missing something.

When I `avro::encode(encoder, datum)`, how can I get the number of
bytes this has produced on the output stream?

Is there another API I can use that will tell me the number of bytes?

Thanks,
Manuel