Header parsing is used by both bufread and write modules. This removes the dependency of the write module on the bufread module.
This implements part of the change from #323 with the aim to make that PR simpler.
The test of Buffer in bufread would sensibly be moved too, but that would cause conflicts with #345 and the test (along with the Buffer type) are removed by #323
Header parsing is used by both
bufread
andwrite
modules. This removes the dependency of thewrite
module on thebufread
module.This implements part of the change from #323 with the aim to make that PR simpler.
The test of
Buffer
inbufread
would sensibly be moved too, but that would cause conflicts with #345 and the test (along with theBuffer
type) are removed by #323