105
105
current_offset = self.current_offset
112
112
# Make sure we're writing valid names. Note that we will leave a
113
113
# half-written record if a name is bad!
121
130
self.records_written += 1
122
131
# return a memo of where we wrote data to allow random access.
123
132
return current_offset, self.current_offset - current_offset