int -> long for sizes char -> unsigned char for strings
stralloc first. add stralloc_zero to clear a stralloc