Merge implementation of an abstract buffer