当前位置: 首页>>代码示例>>C#>>正文


C# ILittleEndianOutput.WriteInt方法代码示例

本文整理汇总了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);
 }
开发者ID:Johnnyfly,项目名称:source20131023,代码行数:7,代码来源:FeatProtection.cs

示例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);
 }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:7,代码来源:DeletedArea3DPtg.cs

示例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);
            }

        }
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:26,代码来源:ExtendedPivotTableViewFieldsRecord.cs

示例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);
        }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:13,代码来源:TableStylesRecord.cs

示例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);
        }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:15,代码来源:ScrollableObjectSubRecord.cs

示例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);
        }
开发者ID:Reinakumiko,项目名称:npoi,代码行数:37,代码来源:CFRuleRecord.cs

示例7: Serialize

 public override void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteInt(field_1_horizontalScale);
     out1.WriteInt(field_2_verticalScale);
 }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:5,代码来源:PlotGrowthRecord.cs

示例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);
 }
开发者ID:hanwangkun,项目名称:npoi,代码行数:12,代码来源:ExtendedFormatRecord.cs

示例9: Write

 public override void Write(ILittleEndianOutput out1)
 {
     out1.WriteByte(sid + PtgClass);
     out1.WriteInt(field_1_reserved);
 }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:5,代码来源:RefErrorPtg.cs

示例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);
 }
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:8,代码来源:LineFormatRecord.cs

示例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);
        }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:19,代码来源:DVRecord.cs

示例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);
 }
开发者ID:89sos98,项目名称:npoi,代码行数:7,代码来源:ChartRecord.cs

示例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);
                }
            }
        }
开发者ID:Johnnyfly,项目名称:source20131023,代码行数:51,代码来源:LbsDataSubRecord.cs

示例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));
     }
 }
开发者ID:xoposhiy,项目名称:npoi,代码行数:11,代码来源:IndexRecord.cs

示例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);
 }
开发者ID:xiepeixing,项目名称:npoi,代码行数:15,代码来源:TextRecord.cs


注:本文中的ILittleEndianOutput.WriteInt方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。