Re: [Discuss-gnuradio] File Meta Sink Endianness?

2015-02-09 Thread Peter Witkowski
Hi Marcus, That explains it. Thanks for the help. On Mon, Feb 9, 2015 at 1:27 PM, Marcus Müller wrote: > Hi Peter, > > the metadata is stuffed into PMT dicts, which get serialized by pmt's > serialization routines. > Now, these are a bit peculiar on serializing multibyte things. They > genera

Re: [Discuss-gnuradio] File Meta Sink Endianness?

2015-02-09 Thread Marcus Müller
Hi Peter, the metadata is stuffed into PMT dicts, which get serialized by pmt's serialization routines. Now, these are a bit peculiar on serializing multibyte things. They generally ensure big-endianness, if I understand the code [1] correctly. The sample portion would have the same endianness as

Re: [Discuss-gnuradio] File Meta Sink Endianness?

2015-02-09 Thread Marcus D. Leech
On 02/09/2015 12:54 PM, Peter Witkowski wrote: Hello, Can someone tell me what byte order (i.e. little endian or big endian) is used in file meta sink (i.e. what is the byte order of the resulting file)? I'm seeing something strange, and I'm wondering if the header (metadata portion) is big

[Discuss-gnuradio] File Meta Sink Endianness?

2015-02-09 Thread Peter Witkowski
Hello, Can someone tell me what byte order (i.e. little endian or big endian) is used in file meta sink (i.e. what is the byte order of the resulting file)? I'm seeing something strange, and I'm wondering if the header (metadata portion) is big endian while the samples are little endian. Does th