Accept buffers as input