Fix typo in comparison of string.IsNullOrEmpty(_buffer) - should be check for NOT empty