[PATCH] Add function for consuming endian specific data from a buffer
rafael.espindola at gmail.com
Mon Mar 24 15:36:26 PDT 2014
(const unsigned char *&memory)
Can't this read out of a stream?
On 24 March 2014 17:28, Justin Bogner <mail at justinbogner.com> wrote:
> This adds a function to Endian.h that reads from and updates a pointer
> into a buffer with endian specific data. This is more convenient for
> stream-like reading of data than endian::read.
> The second patch is just a mechanical update of clang to use this rather
> than rolling their own. I've included it to show what it looks like to
> use this new API.
More information about the llvm-commits