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