avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Overby (groverby)" <grove...@cisco.com>
Subject Re: Avro binary format to raw binary format
Date Mon, 16 Jun 2014 13:24:55 GMT
Perhaps you’re looking for a ‘hex editor'?

An example is the linux & os x command line tool xxd:

xxd -g1 some-binary-avro-file

The output of hex editors is a human readable representation (hex notation) of binary data.
This output is less ‘raw’ than the contents of a avro binary file as it has been alter
during presentation for viewing in “ 0,1 A-F”.

Be mindful of Endianness while reading the hex output. http://en.wikipedia.org/wiki/Endianness


Grant Overby
Software Engineer
Mobile: 865 724 4910

[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif] Think before you print.

This email may contain confidential and privileged material for the sole use of the intended
recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If
you are not the intended recipient (or authorized to receive for the recipient), please contact
the sender by reply email and delete all copies of this message.

Please click here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html>
for Company Registration Information.

From: mohan kumar Muddana <mohanjune@gmail.com<mailto:mohanjune@gmail.com>>
Reply-To: "user@avro.apache.org<mailto:user@avro.apache.org>" <user@avro.apache.org<mailto:user@avro.apache.org>>
Date: Saturday, June 14, 2014 at 11:45 AM
To: "user@avro.apache.org<mailto:user@avro.apache.org>" <user@avro.apache.org<mailto:user@avro.apache.org>>
Subject: Re: Avro binary format to raw binary format

I mean Avro serializes json into avro binary format. And it converts avro binary to json.
My question is can we convert the avro binary to raw binary. Raw binary which represents in
0,1 A-F, human readable.

Thanks in advance.

On Fri, Jun 13, 2014 at 10:54 PM, Wai Yip Tung <wy@tungwaiyip.info<mailto:wy@tungwaiyip.info>>
What is raw binary format?

Sachin Goyal wrote:

Hi Mohan,

Did you try Avro-Tools ?


From: mohan kumar Muddana<mohanjune@gmail.com<mailto:mohanjune@gmail.com><mailto:mohanjune@gmail.com<mailto:mohanjune@gmail.com>>>
Reply-To: "user@avro.apache.org<mailto:user@avro.apache.org><mailto:user@avro.apache.org<mailto:user@avro.apache.org>>"<user@avro.apache.org<mailto:user@avro.apache.org><mailto:user@avro.apache.org<mailto:user@avro.apache.org>>>
Date: Friday, June 13, 2014 at 2:56 AM
To: "user@avro.apache.org<mailto:user@avro.apache.org><mailto:user@avro.apache.org<mailto:user@avro.apache.org>>"<user@avro.apache.org<mailto:user@avro.apache.org><mailto:user@avro.apache.org<mailto:user@avro.apache.org>>>
Subject: Avro binary format to raw binary format

Tried to search the archives, but couldn't find good answer.
Just wanted to know is there any way to convert avro binary data which is converted from js
on to raw binary format. And also raw binary format to avro binary format.

Will the decoder classes present work.

Thanks in advance

View raw message