Add documentation to the stream API

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Add documentation to the Writer API

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>