Support for Buffer type of data parameter