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


C# LittleEndianOutput.WriteInt方法代码示例

本文整理汇总了C#中LittleEndianOutput.WriteInt方法的典型用法代码示例。如果您正苦于以下问题:C# LittleEndianOutput.WriteInt方法的具体用法?C# LittleEndianOutput.WriteInt怎么用?C# LittleEndianOutput.WriteInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在LittleEndianOutput的用法示例。


在下文中一共展示了LittleEndianOutput.WriteInt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Write

 public override void Write(LittleEndianOutput out1)
 {
     out1.WriteByte(sid + PtgClass);
     out1.WriteShort(field_1_index_extern_sheet);
     out1.WriteInt(unused1);
     out1.WriteInt(unused2);
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:7,代码来源:DeletedArea3DPtg.cs

示例2: Serialize

        public override void Serialize(LittleEndianOutput 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:uwitec,项目名称:web-mvc-logistics,代码行数:26,代码来源:ExtendedPivotTableViewFieldsRecord.cs

示例3: Serialize

        public override void Serialize(LittleEndianOutput 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:uwitec,项目名称:web-mvc-logistics,代码行数:13,代码来源:TableStylesRecord.cs

示例4: Serialize

        public override void Serialize(LittleEndianOutput 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:uwitec,项目名称:web-mvc-logistics,代码行数:15,代码来源:ScrollableObjectSubRecord.cs

示例5: SerializeValue

        protected override void SerializeValue(LittleEndianOutput out1)
        {
            if (specialCachedValue == null)
            {
                out1.WriteDouble(field_4_value);
            }
            else
            {
                specialCachedValue.Serialize(out1);
            }

            out1.WriteShort(Options);

            out1.WriteInt(field_6_zero); // may as well write original data back so as to minimise differences from original
            field_8_parsed_expr.Serialize(out1);
        }
开发者ID:babywzazy,项目名称:Server,代码行数:16,代码来源:FormulaRecord.cs

示例6: Serialize

        public override void Serialize(LittleEndianOutput out1)
        {
            _range.Serialize(out1);

            _guid.Serialize(out1);
            out1.WriteInt(0x00000002); // TODO const
            out1.WriteInt(_linkOpts);

            if ((_linkOpts & HLINK_LABEL) != 0)
            {
                out1.WriteInt(_label.Length);
                StringUtil.PutUnicodeLE(_label, out1);
            }
            if ((_linkOpts & HLINK_TARGET_FRAME) != 0)
            {
                out1.WriteInt(_targetFrame.Length);
                StringUtil.PutUnicodeLE(_targetFrame, out1);
            }

            if ((_linkOpts & HLINK_URL) != 0 && (_linkOpts & HLINK_UNC_PATH) != 0)
            {
                out1.WriteInt(_address.Length);
                StringUtil.PutUnicodeLE(_address, out1);
            }
            if ((_linkOpts & HLINK_URL) != 0 && (_linkOpts & HLINK_UNC_PATH) == 0)
            {
                _moniker.Serialize(out1);
                if (_moniker != null && URL_MONIKER.Equals(_moniker))
                {
                    if (_uninterpretedTail == null)
                    {
                        out1.WriteInt(_address.Length * 2);
                        StringUtil.PutUnicodeLE(_address, out1);
                    }
                    else
                    {
                        out1.WriteInt(_address.Length * 2 + TAIL_SIZE);
                        StringUtil.PutUnicodeLE(_address, out1);
                        WriteTail(_uninterpretedTail, out1);
                    }
                }
                else if (_moniker != null && FILE_MONIKER.Equals(_moniker))
                {
                    out1.WriteShort(_fileOpts);
                    out1.WriteInt(_shortFilename.Length);
                    StringUtil.PutCompressedUnicode(_shortFilename, out1);

                    WriteTail(_uninterpretedTail, out1);
                    if (string.IsNullOrEmpty(_address))
                    {
                        out1.WriteInt(0);
                    }
                    else
                    {
                        int addrLen = _address.Length * 2;
                        out1.WriteInt(addrLen + 6);
                        out1.WriteInt(addrLen);
                        out1.WriteShort(0x0003); // TODO const
                        StringUtil.PutUnicodeLE(_address, out1);
                    }
                }
            }
            if ((_linkOpts & HLINK_PLACE) != 0)
            {
                out1.WriteInt(_textMark.Length);
                StringUtil.PutUnicodeLE(_textMark, out1);

            }
        }
开发者ID:babywzazy,项目名称:Server,代码行数:69,代码来源:HyperlinkRecord.cs

示例7: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteByte(field_1_majorTickType);
     out1.WriteByte(field_2_minorTickType);
     out1.WriteByte(field_3_labelPosition);
     out1.WriteByte(field_4_background);
     out1.WriteInt(field_5_labelColorRgb);
     out1.WriteInt(field_6_zero1);
     out1.WriteInt(field_7_zero2);
     out1.WriteInt(field_8_zero3);
     out1.WriteInt(field_9_zero4);
     out1.WriteShort(field_10_options);
     out1.WriteShort(field_11_tickColor);
     out1.WriteShort(field_12_zero5);
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:15,代码来源:TickRecord.cs

示例8: Serialize

        public override void Serialize(LittleEndianOutput 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));
                }
            }
            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:babywzazy,项目名称:Server,代码行数:51,代码来源:LbsDataSubRecord.cs

示例9: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteInt(FirstRow);
     out1.WriteInt(LastRow);
     out1.WriteShort(FirstCol);
     out1.WriteShort(LastCol);
     out1.WriteShort(( short ) 0);
 }
开发者ID:babywzazy,项目名称:Server,代码行数:8,代码来源:DimensionsRecord.cs

示例10: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteInt(field_1_x);
     out1.WriteInt(field_2_y);
     out1.WriteInt(field_3_width);
     out1.WriteInt(field_4_height);
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:7,代码来源:ChartRecord.cs

示例11: Serialize

 public override void Serialize(LittleEndianOutput 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:uwitec,项目名称:web-mvc-logistics,代码行数:15,代码来源:TextRecord.cs

示例12: Write

        public override void Write(LittleEndianOutput out1)
        {
		    out1.WriteByte(sid + PtgClass);
		    out1.WriteInt(field_1_reserved);
		    out1.WriteShort(field_2_subex_len);
        }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:6,代码来源:MemErrPtg.cs

示例13: Serialize

 public int Serialize(LittleEndianOutput out1)
 {
     out1.WriteByte((byte)vt);
     switch (vt)
     {
         case DOPERType.RKNumber:
             out1.WriteByte(grbitSgn);
             _RK.Serialize(out1);
             out1.WriteInt(0);  //reserved
             break;
         case DOPERType.IEEENumber:
             out1.WriteByte(grbitSgn);
             out1.WriteDouble(_IEEENumber);
             break;
         case DOPERType.String:
             out1.WriteByte(grbitSgn);
             out1.WriteInt(0);  //reserved
             out1.WriteByte(CCH);
             out1.WriteByte(0);      //reserved
             out1.WriteShort(0);     //reserved
             break;
         case DOPERType.BooleanOrErrors:
             out1.WriteByte(grbitSgn);
             out1.WriteByte(fError);
             out1.WriteByte(bBoolErr);
             out1.WriteShort(0);    //reserved
             out1.WriteInt(0);      //reserved
             break;
         default:    //FilterCondition,MatchAllBlanks,MatchNoneBlank
             out1.WriteByte(0);      //reserved
             out1.WriteLong(0);      //reserved
             break;
     }
     return this.RecordSize;            
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:35,代码来源:DOPER.cs

示例14: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteInt(field_1_xAxisUpperLeft);
     out1.WriteInt(field_2_yAxisUpperLeft);
     out1.WriteInt(field_3_xSize);
     out1.WriteInt(field_4_ySize);
     out1.WriteByte(field_5_type);
     out1.WriteByte(field_6_spacing);
     out1.WriteShort(field_7_options);
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:10,代码来源:LegendRecord.cs

示例15: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteShort(field_1_axisType);
     out1.WriteInt(field_2_x);
     out1.WriteInt(field_3_y);
     out1.WriteInt(field_4_width);
     out1.WriteInt(field_5_height);
 }
开发者ID:babywzazy,项目名称:Server,代码行数:8,代码来源:AxisParentRecord.cs


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