Use buffer protocol