Low level buffer class.