TotalSize should contain sizeof( size ) of the text, because internal structure of message contain it too.