Declare a new getter _getChunks, for testing purposes
Add javadoc for _getBuffer
Add a suite of tests that ensure that calls to write and end with payloads
result in the correct state of _data, _chunks and _buffer. Ensure that methods
are tested in isolation, using a separate suite for interactions between write and end
From @cpd0101:
encoding
to be retrieved viagetEncoding
write
/end
From myself:
_getChunks
, for testing purposes_getBuffer
write
andend
with payloads result in the correct state of_data
,_chunks
and_buffer
. Ensure that methods are tested in isolation, using a separate suite for interactions betweenwrite
andend
This PR builds on and supersedes #154