At construction, the BOF is first appended to the WriteBuffer object passed to FramingStream.CreateAsync. Afterwards, when data is written to this stream then it is first encoded and the encoded form is then appended to the WriteBuffer object.
Caution: DisposeAsync must be called in the end.