refactored OutBuffer into TdsBuffer that does read/write