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


C# LittleEndianOutput.WriteShort方法代码示例

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


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

示例1: Serialize

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

示例2: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteShort(rt);
     out1.WriteShort(grbitFrt);
     out1.WriteShort(iObjectKind);
     // 6 bytes unused
     out1.Write(unused);
 }
开发者ID:Henry-T,项目名称:UnityPG,代码行数:8,代码来源:ChartEndBlockRecord.cs

示例3: Write

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

        }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:8,代码来源:NameXPtg.cs

示例4: Serialize

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

示例5: Serialize

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

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

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

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

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

示例10: Serialize

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

示例11: Serialize

        public override void Serialize(LittleEndianOutput out1)
        {

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

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

示例12: UnknownLengthRecordOutput

 public UnknownLengthRecordOutput(LittleEndianOutput out1, int sid)
 {
     _originalOut = out1;
     out1.WriteShort(sid);
     if (out1 is DelayableLittleEndianOutput)
     {
         // optimisation
         DelayableLittleEndianOutput dleo = (DelayableLittleEndianOutput)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:babywzazy,项目名称:Server,代码行数:20,代码来源:UnknownLengthRecordOutput.cs

示例13: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteShort(field_1_flags);
     out1.WriteByte(field_2_empty);
     out1.WriteByte(0);  //reserved field
 }
开发者ID:babywzazy,项目名称:Server,代码行数:6,代码来源:SheetPropertiesRecord.cs

示例14: WriteTokenValueBytes

        public int WriteTokenValueBytes(LittleEndianOutput out1)
        {

		    out1.WriteByte(token_1_columns-1);
		    out1.WriteShort(token_2_rows-1);
            ConstantValueParser.Encode(out1, token_3_arrayValues);
            return 3 + ConstantValueParser.GetEncodedSize(token_3_arrayValues);
        }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:8,代码来源:ArrayPtg.cs

示例15: Write

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


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