Docs to buffers