Add realization for methods for Buffer