Memoryblock size with WriteDouble

dim mb2 as new memoryblock(9)
mb2.Int8Value(0)=-5
mb2.DoubleValue(1)=100

Gives a size of 41, with lots of padded zeros.