If you only have a single buffer you can simply write