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