doc ContextStreamWriter