Protected
automatically extends the current buffer if the given space exceeds the available rest capacity of the current buffer.
the needed space
how big the appended buffer should be in comparison to the current one. Values >= 1 make sense.
Optional
Writes an int32 and we dismiss it, because its always 0.
Static
automatically extends the current buffer if the given space exceeds the available rest capacity of the current buffer.