Fill the buffer with 0 before writing an SDP in it