public int Size() { // 10 indicates sizeof(byte) * 4 + sizeof(UInt16) + sizeof(UInt32) int size = sizeof(byte) * 10; if (this.Bookmark != null) { size += this.Bookmark.Length; } return size; } }