Add the bufalloc API call to load data from a source other than a file.