Exemplo n.º 1
0
        public void Write(BinaryFormatterWriter output)
        {
            output.WriteByte((byte)_binaryHeaderEnum);
            output.WriteInt32(_objectId);
            output.WriteString(_name);

            output.WriteInt32(_numMembers);
            for (int i = 0; i < _numMembers; i++)
            {
                output.WriteString(_memberNames[i]);
            }
            for (int i = 0; i < _numMembers; i++)
            {
                output.WriteByte((byte)_binaryTypeEnumA[i]);
            }
            for (int i = 0; i < _numMembers; i++)
            {
                BinaryTypeConverter.WriteTypeInfo(_binaryTypeEnumA[i], _typeInformationA[i], _memberAssemIds[i], output);
            }

            if (_assemId > 0)
            {
                output.WriteInt32(_assemId);
            }
        }
Exemplo n.º 2
0
        public void Write(BinaryFormatterWriter output)
        {
            output.WriteByte((byte)_binaryHeaderEnum);
            output.WriteInt32(_objectId);
            output.WriteString(_name);

            output.WriteInt32(_numMembers);
            for (int i = 0; i < _numMembers; i++)
            {
                output.WriteString(_memberNames[i]);
            }
            for (int i = 0; i < _numMembers; i++)
            {
                output.WriteByte((byte)_binaryTypeEnumA[i]);
            }
            for (int i = 0; i < _numMembers; i++)
            {
                BinaryTypeConverter.WriteTypeInfo(_binaryTypeEnumA[i], _typeInformationA[i], _memberAssemIds[i], output);
            }

            if (_assemId > 0)
            {
                output.WriteInt32(_assemId);
            }
        }
Exemplo n.º 3
0
        public void Write(BinaryFormatterWriter output)
        {
            output.WriteByte((byte)_binaryHeaderEnum);
            output.WriteInt32(_objectId);
            output.WriteString(_name);

            output.WriteInt32(_numMembers);
            for (int i = 0; i < _numMembers; i++)
            {
                output.WriteString(_memberNames[i]);
            }

            if (_assemId > 0)
            {
                output.WriteInt32(_assemId);
            }
        }
Exemplo n.º 4
0
        public void Write(BinaryFormatterWriter output)
        {
            output.WriteByte((byte)_binaryHeaderEnum);
            output.WriteInt32(_objectId);
            output.WriteString(_name);

            output.WriteInt32(_numMembers);
            for (int i = 0; i < _numMembers; i++)
            {
                output.WriteString(_memberNames[i]);
            }

            if (_assemId > 0)
            {
                output.WriteInt32(_assemId);
            }
        }
Exemplo n.º 5
0
 public void Write(BinaryFormatterWriter output)
 {
     output.WriteByte((byte)BinaryHeaderEnum.ObjectString);
     output.WriteInt32(_objectId);
     output.WriteString(_value);
 }
Exemplo n.º 6
0
 public void Write(BinaryFormatterWriter output)
 {
     output.WriteByte((byte)BinaryHeaderEnum.Assembly);
     output.WriteInt32(_assemId);
     output.WriteString(_assemblyString);
 }
Exemplo n.º 7
0
 public void Write(BinaryFormatterWriter output)
 {
     output.WriteByte((byte)BinaryHeaderEnum.Assembly);
     output.WriteInt32(_assemId);
     output.WriteString(_assemblyString);
 }
Exemplo n.º 8
0
 public void Write(BinaryFormatterWriter output)
 {
     output.WriteByte((byte)BinaryHeaderEnum.ObjectString);
     output.WriteInt32(_objectId);
     output.WriteString(_value);
 }