The source project of this merge request has been removed.
Avoid passing variable by reference
In python we cannot pass immutable variables (like strings) by reference. But we want to keep the code as close as possible initially.
This commit changes nothing in logic, but avoids passing the buffer
variable by reference, so we can have the same code in python.