A wrapper for the Buffer API in Go