* fixed wrong variable name (same name as member 'buffer' of the class)