本文整理汇总了C#中ILittleEndianOutput.WriteInt方法的典型用法代码示例。如果您正苦于以下问题:C# ILittleEndianOutput.WriteInt方法的具体用法?C# ILittleEndianOutput.WriteInt怎么用?C# ILittleEndianOutput.WriteInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ILittleEndianOutput
的用法示例。
在下文中一共展示了ILittleEndianOutput.WriteInt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public void Serialize(ILittleEndianOutput out1)
{
out1.WriteInt(fSD);
out1.WriteInt(passwordVerifier);
StringUtil.WriteUnicodeString(out1, title);
out1.Write(securityDescriptor);
}
示例2: Write
public override void Write(ILittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
out1.WriteShort(field_1_index_extern_sheet);
out1.WriteInt(unused1);
out1.WriteInt(unused2);
}
示例3: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteInt(grbit1);
out1.WriteByte(grbit2);
out1.WriteByte(citmShow);
out1.WriteShort(isxdiSort);
out1.WriteShort(isxdiShow);
if (subName == null)
{
out1.WriteShort(STRING_NOT_PRESENT_LEN);
}
else
{
out1.WriteShort(subName.Length);
}
out1.WriteInt(reserved1);
out1.WriteInt(reserved2);
if (subName != null)
{
StringUtil.PutUnicodeLE(subName, out1);
}
}
示例4: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteShort(rt);
out1.WriteShort(grbitFrt);
out1.Write(unused);
out1.WriteInt(cts);
out1.WriteShort(rgchDefListStyle.Length);
out1.WriteShort(rgchDefPivotStyle.Length);
StringUtil.PutUnicodeLE(rgchDefListStyle, out1);
StringUtil.PutUnicodeLE(rgchDefPivotStyle, out1);
}
示例5: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteShort(sid);
out1.WriteShort(DataSize);
out1.WriteInt(0);
out1.WriteShort(field_1_iVal);
out1.WriteShort(field_2_iMin);
out1.WriteShort(field_3_iMax);
out1.WriteShort(field_4_dInc);
out1.WriteShort(field_5_dPage);
out1.WriteShort(field_6_fHoriz);
out1.WriteShort(field_7_dxScroll);
out1.WriteShort(field_8_options);
}
示例6: Serialize
/**
* called by the class that Is responsible for writing this sucker.
* Subclasses should implement this so that their data Is passed back in a
* byte array.
*
* @param offset to begin writing at
* @param data byte array containing instance data
* @return number of bytes written
*/
public override void Serialize(ILittleEndianOutput out1)
{
int formula1Len=GetFormulaSize(field_17_formula1);
int formula2Len=GetFormulaSize(field_18_formula2);
out1.WriteByte(field_1_condition_type);
out1.WriteByte(field_2_comparison_operator);
out1.WriteShort(formula1Len);
out1.WriteShort(formula2Len);
out1.WriteInt(field_5_options);
out1.WriteShort(field_6_not_used);
if (ContainsFontFormattingBlock) {
byte[] fontFormattingRawRecord = _fontFormatting.GetRawRecord();
out1.Write(fontFormattingRawRecord);
}
if (ContainsBorderFormattingBlock) {
_borderFormatting.Serialize(out1);
}
if (ContainsPatternFormattingBlock) {
_patternFormatting.Serialize(out1);
}
field_17_formula1.SerializeTokens(out1);
field_18_formula2.SerializeTokens(out1);
}
示例7: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteInt(field_1_horizontalScale);
out1.WriteInt(field_2_verticalScale);
}
示例8: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteShort(FontIndex);
out1.WriteShort(FormatIndex);
out1.WriteShort(CellOptions);
out1.WriteShort(AlignmentOptions);
out1.WriteShort(IndentionOptions);
out1.WriteShort(BorderOptions);
out1.WriteShort(PaletteOptions);
out1.WriteInt(AdtlPaletteOptions);
out1.WriteShort(FillPaletteOptions);
}
示例9: Write
public override void Write(ILittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
out1.WriteInt(field_1_reserved);
}
示例10: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteInt(field_1_lineColor);
out1.WriteShort(field_2_linePattern);
out1.WriteShort(field_3_weight);
out1.WriteShort(field_4_format);
out1.WriteShort(field_5_colourPaletteIndex);
}
示例11: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteInt(_option_flags);
SerializeUnicodeString(_promptTitle, out1);
SerializeUnicodeString(_errorTitle, out1);
SerializeUnicodeString(_promptText, out1);
SerializeUnicodeString(_errorText, out1);
out1.WriteShort(_formula1.EncodedTokenSize);
out1.WriteShort(_not_used_1);
_formula1.SerializeTokens(out1);
out1.WriteShort(_formula2.EncodedTokenSize);
out1.WriteShort(_not_used_2);
_formula2.SerializeTokens(out1);
_regions.Serialize(out1);
}
示例12: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteInt(field_1_x);
out1.WriteInt(field_2_y);
out1.WriteInt(field_3_width);
out1.WriteInt(field_4_height);
}
示例13: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteShort(sid);
out1.WriteShort(_cbFContinued); // note - this is *not* the size
if (_linkPtg == null)
{
out1.WriteShort(0);
}
else
{
int formulaSize = _linkPtg.Size;
int linkSize = formulaSize + 6;
if (_unknownPostFormulaByte != null)
{
linkSize++;
}
out1.WriteShort(linkSize);
out1.WriteShort(formulaSize);
out1.WriteInt(_unknownPreFormulaInt);
_linkPtg.Write(out1);
if (_unknownPostFormulaByte != null)
{
out1.WriteByte(Convert.ToByte(_unknownPostFormulaByte, CultureInfo.InvariantCulture));
}
}
out1.WriteShort(_cLines);
out1.WriteShort(_iSel);
out1.WriteShort(_flags);
out1.WriteShort(_idEdit);
if (_dropData != null)
{
_dropData.Serialize(out1);
}
if (_rgLines != null)
{
foreach (String str in _rgLines)
{
StringUtil.WriteUnicodeString(out1, str);
}
}
if (_bsels != null)
{
foreach (bool val in _bsels)
{
out1.WriteByte(val ? 1 : 0);
}
}
}
示例14: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteInt(0);
out1.WriteInt(FirstRow);
out1.WriteInt(LastRowAdd1);
out1.WriteInt(field_4_zero);
for (int k = 0; k < NumDbcells; k++)
{
out1.WriteInt(GetDbcellAt(k));
}
}
示例15: Serialize
public override void Serialize(ILittleEndianOutput out1)
{
out1.WriteByte(field_1_horizontalAlignment);
out1.WriteByte(field_2_verticalAlignment);
out1.WriteShort(field_3_DisplayMode);
out1.WriteInt(field_4_rgbColor);
out1.WriteInt(field_5_x);
out1.WriteInt(field_6_y);
out1.WriteInt(field_7_width);
out1.WriteInt(field_8_height);
out1.WriteShort(field_9_options1);
out1.WriteShort(field_10_IndexOfColorValue);
out1.WriteShort(field_11_options2);
out1.WriteShort(field_12_textRotation);
}