Need to improve performance of header creation.
Make a concat function that takes in an offset of destination string.
This way it wont need to calculate the length every time it adds a header.
It returns the new length already, so we can easily keep track of the length as creation happens.
Need to improve performance of header creation.
Make a concat function that takes in an offset of destination string.
This way it wont need to calculate the length every time it adds a header.
It returns the new length already, so we can easily keep track of the length as creation happens.