151
152
and thus are only suitable for use by a ContainerReader.
153
154
current_offset = self.current_offset
156
162
self.records_written += 1
157
163
# return a memo of where we wrote data to allow random access.
158
164
return current_offset, self.current_offset - current_offset