fix 'buffer' documentation