This function creates a buffer object from a string. The buffer and string are mapped to different memory areas, so that alterations to one do not affect the other.
Gamma> a = "rhino";
"rhino"
Gamma> b = string_to_buffer(a);
#{rhino}
Gamma> a = "hippo";
"hippo"
Gamma> b;
#{rhino}
Gamma>