ebuffer example