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


C# ILittleEndianOutput.WriteShort方法代码示例

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


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

示例1: Serialize

 public void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteShort(FirstRow);
     out1.WriteShort(LastRow);
     out1.WriteShort(FirstColumn);
     out1.WriteShort(LastColumn);
 }
开发者ID:WPG,项目名称:npoi,代码行数:7,代码来源:CellRangeAddress.cs

示例2: Write

        public override void Write(ILittleEndianOutput out1)
        {
            out1.WriteByte(sid + PtgClass);
            out1.WriteShort(_sheetRefIndex);
            out1.WriteShort(_nameNumber);
            out1.WriteShort(_reserved);

        }
开发者ID:newlysoft,项目名称:npoi,代码行数:8,代码来源:NameXPtg.cs

示例3: Serialize

 public override void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteShort(rt);
     out1.WriteShort(grbitFrt);
     out1.WriteShort(iObjectKind);
     // 6 bytes unused
     out1.Write(reserved);
 }
开发者ID:xoposhiy,项目名称:npoi,代码行数:8,代码来源:ChartEndObjectRecord.cs

示例4: Serialize

 public override void Serialize(ILittleEndianOutput out1)
 {
     int nItems = field_1_seriesNumbers.Length;
     out1.WriteShort(nItems);
     for (int i = 0; i < nItems; i++)
     {
         out1.WriteShort(field_1_seriesNumbers[i]);
     }
 }
开发者ID:xoposhiy,项目名称:npoi,代码行数:9,代码来源:SeriesListRecord.cs

示例5: Serialize

        public override void Serialize(ILittleEndianOutput out1)
        {

            out1.WriteShort(rt);
            out1.WriteShort(grbitFrt);
            out1.WriteShort(wOffset);
            out1.WriteShort(at);
            out1.WriteShort(grbit);
            if (unused != null)
                out1.WriteShort((short)unused);
        }
开发者ID:89sos98,项目名称:npoi,代码行数:11,代码来源:CatLabRecord.cs

示例6: Serialize

 public override void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteShort(mdTopLt);
     out1.WriteShort(mdBotRt);
     out1.WriteShort(x1);
     out1.WriteShort(0);
     out1.WriteShort(y1);
     out1.WriteShort(0);
     out1.WriteShort(x2);
     out1.WriteShort(0);
     out1.WriteShort(y2);
     out1.WriteShort(0);
 }
开发者ID:xoposhiy,项目名称:npoi,代码行数:13,代码来源:PosRecord.cs

示例7: 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

示例8: 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

示例9: Serialize

        public override void Serialize(ILittleEndianOutput out1)
        {
            int field_4_name_length = field_6_name_text.Length;
            int field_5_comment_length = field_7_comment_text.Length;

            out1.WriteShort(field_1_record_type);
            out1.WriteShort(field_2_frt_cell_ref_flag);
            out1.WriteLong(field_3_reserved);
            out1.WriteShort(field_4_name_length);
            out1.WriteShort(field_5_comment_length);

            out1.WriteByte(0);
            StringUtil.PutCompressedUnicode(field_6_name_text,out1);
            out1.WriteByte(0);
            StringUtil.PutCompressedUnicode(field_7_comment_text, out1);
        }
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:16,代码来源:NameCommentRecord.cs

示例10: 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

示例11: 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

示例12: Serialize

        public override void Serialize(ILittleEndianOutput out1)
        {

            out1.WriteShort(sxaxis);
            out1.WriteShort(cSub);
            out1.WriteShort(grbitSub);
            out1.WriteShort(cItm);

            if (_name != null)
            {
                StringUtil.WriteUnicodeString(out1, _name);
            }
            else
            {
                out1.WriteShort(STRING_NOT_PRESENT_LEN);
            }
        }
开发者ID:89sos98,项目名称:npoi,代码行数:17,代码来源:ViewFieldsRecord.cs

示例13: Serialize

 public override void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteShort(rt);
     out1.WriteShort(grbitFrt);
     out1.WriteShort(iObjectKind);
     out1.WriteShort(iObjectContext);
     out1.WriteShort(iObjectInstance1);
     out1.WriteShort(iObjectInstance2);
 }
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:9,代码来源:ChartStartObjectRecord.cs

示例14: Serialize

        public override void Serialize(ILittleEndianOutput out1)
        {

            out1.WriteShort(isxvdData);
            out1.WriteShort(iiftab);
            out1.WriteShort(df);
            out1.WriteShort(isxvd);
            out1.WriteShort(isxvi);
            out1.WriteShort(ifmt);

            StringUtil.WriteUnicodeString(out1, name);
        }
开发者ID:hanwangkun,项目名称:npoi,代码行数:12,代码来源:DataItemRecord.cs

示例15: UnknownLengthRecordOutput

 public UnknownLengthRecordOutput(ILittleEndianOutput out1, int sid)
 {
     _originalOut = out1;
     out1.WriteShort(sid);
     if (out1 is IDelayableLittleEndianOutput)
     {
         // optimisation
         IDelayableLittleEndianOutput dleo = (IDelayableLittleEndianOutput)out1;
         _dataSizeOutput = dleo.CreateDelayedOutput(2);
         _byteBuffer = null;
         _out = out1;
     }
     else
     {
         // otherwise temporarily Write all subsequent data to a buffer
         _dataSizeOutput = out1;
         _byteBuffer = new byte[RecordInputStream.MAX_RECORD_DATA_SIZE];
         _out = new LittleEndianByteArrayOutputStream(_byteBuffer, 0);
     }
 }
开发者ID:ctddjyds,项目名称:npoi,代码行数:20,代码来源:UnknownLengthRecordOutput.cs


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