Allow passing a buffer as an input parameter without streaming