Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
do
assert length >= 0
var str = new FlatString.with_infos(self, length, 0, length - 1)
do
assert length >= 0
var str = new FlatString.with_infos(self, length, 0, length - 1)
var new_self = calloc_string(length + 1)
copy_to(new_self, length, 0, 0)
var str = new FlatString.with_infos(new_self, length, 0, length - 1)
var new_self = calloc_string(length + 1)
copy_to(new_self, length, 0, 0)
var str = new FlatString.with_infos(new_self, length, 0, length - 1)
+ new_self[length] = '\0'
+ str.real_items = new_self