wrap buffer with namespace chef