public int Size() { // 15 indicates sizeof (byte) * 7 + sizeof (Uint64) int size = sizeof(byte) * 15; if (this.NewFolderName != null) { size += this.NewFolderName.Length; } return size; } }