instead of passing in is_big_end, why not just call IsBigEndian() directly here? then the onus isn't on the caller.