Thank you for the nice and thorough code review; I'm working on it =) A question about bytestream.h -- are there functions to just get 16 bits out of a byte stream (without reinterpreting it as big/little endian)? I know we have a function called "bytestream_get_buffer", but I don't want to have to write dest and size every time.. Thanks.