Extends the Buffer object with additional convenience functions