Subject: Re: [boost] [Submission] RawMemory
From: Joe Mucchiello (jmucchiello_at_[hidden])
Date: 2011-09-07 02:00:20
For a library designed to deal with the weirdness of binary file formats, I'm surprised it does not support 24-bit integers of arbitrary alignment/sign.
> uint32_t x = raw_memory <uint32_t, big_endian>::peek (&vbBuffer );
Do you also support a non-template "endianness" parameter? Sometimes you don't know the endian-style of the file until you open it and read some value out of it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk