Write the contents of the packfile to an in-memory buffer
The contents of the buffer will become a valid packfile, even though there will be no attached index
Buffer where to write the packfile
The packbuilder