Read values from a buffer without maintaining an offset