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); } }
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); } }
public void Write(BinaryFormatterWriter output) { output.WriteByte((byte)BinaryHeaderEnum.ObjectString); output.WriteInt32(_objectId); output.WriteString(_value); }
public void Write(BinaryFormatterWriter output) { output.WriteByte((byte)BinaryHeaderEnum.Assembly); output.WriteInt32(_assemId); output.WriteString(_assemblyString); }