I have question here. Is there a difference between .sizeof and .length(of a char[])?
for future reference if someone stumbles on this, .sizeof is the static size of the reference, .length is the actual length of the array
you pretty rarely want array.sizeof in D.