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


C# LittleEndianOutput.WriteByte方法代码示例

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


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

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

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

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

 public override void Write(LittleEndianOutput out1)
 {
     out1.WriteByte(sid + PtgClass);
 }
开发者ID:babywzazy,项目名称:Server,代码行数:4,代码来源:ParenthesisPtg.cs

示例5: Serialize

        public override void Serialize(LittleEndianOutput out1)
        {
            out1.WriteShort(rt);
            out1.WriteShort(grbitFrt);
            out1.WriteByte(verOriginator);
            out1.WriteByte(verWriter);
            int nCFRTIDs = rgCFRTID.Length;
            out1.WriteShort(nCFRTIDs);

            for (int i = 0; i < nCFRTIDs; i++)
            {
                rgCFRTID[i].Serialize(out1);
            }
        }
开发者ID:babywzazy,项目名称:Server,代码行数:14,代码来源:ChartFRTInfoRecord.cs

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

示例7: Write

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

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

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

示例10: WriteUnicodeStringFlagAndData

 /**
  * OutputStream <tt>out</tt> will get:
  * <ol>
  * <li>byte is16BitFlag</li>
  * <li>byte[]/char[] characterData</li>
  * </ol>
  * For this encoding, the is16BitFlag is always present even if nChars==0.
  * <br/>
  * This method should be used when the nChars field is <em>not</em> stored 
  * as a ushort immediately before the is16BitFlag. Otherwise, {@link 
  * #writeUnicodeString(LittleEndianOutput, String)} can be used. 
  */
 public static void WriteUnicodeStringFlagAndData(LittleEndianOutput out1, String value)
 {
     bool is16Bit = HasMultibyte(value);
     out1.WriteByte(is16Bit ? 0x01 : 0x00);
     if (is16Bit)
     {
         PutUnicodeLE(value, out1);
     }
     else
     {
         PutCompressedUnicode(value, out1);
     }
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:25,代码来源:StringUtil.cs

示例11: WriteUnicodeString

        /**
         * OutputStream <tt>out</tt> will get:
         * <ol>
         * <li>ushort nChars</li>
         * <li>byte is16BitFlag</li>
         * <li>byte[]/char[] characterData</li>
         * </ol>
         * For this encoding, the is16BitFlag is always present even if nChars==0.
         */
        public static void WriteUnicodeString(LittleEndianOutput out1, String value)
        {

            int nChars = value.Length;
            out1.WriteShort(nChars);
            bool is16Bit = HasMultibyte(value);
            out1.WriteByte(is16Bit ? 0x01 : 0x00);
            if (is16Bit)
            {
                PutUnicodeLE(value, out1);
            }
            else
            {
                PutCompressedUnicode(value, out1);
            }
        }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:25,代码来源:StringUtil.cs

示例12: Write

 public override void Write(LittleEndianOutput out1)
 {
     out1.WriteByte(sid + PtgClass);
     out1.WriteByte(field_1_value ? 1 : 0);
 }
开发者ID:babywzazy,项目名称:Server,代码行数:5,代码来源:BoolPtg.cs

示例13: Serialize

 public void Serialize(LittleEndianOutput out1)
 {
     out1.WriteShort(_wStyle);
     out1.WriteShort(_cLine);
     out1.WriteShort(_dxMin);
     StringUtil.WriteUnicodeString(out1, _str);
     out1.WriteByte(_unused);
 }
开发者ID:babywzazy,项目名称:Server,代码行数:8,代码来源:LbsDataSubRecord.cs

示例14: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteShort(field_1_id);
     out1.WriteByte(field_4_text.Length);
     if (is16bit)
     {
         // Excel (2007) seems to choose 16bit regardless of whether it is needed
         out1.WriteByte(0x01);
         StringUtil.PutUnicodeLE(field_4_text, out1);
     }
     else
     {
         // Excel can read this OK
         out1.WriteByte(0x00);
         StringUtil.PutCompressedUnicode(field_4_text, out1);
     }
 }
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:17,代码来源:SeriesTextRecord.cs

示例15: Serialize

 public override void Serialize(LittleEndianOutput out1)
 {
     out1.WriteByte(WSBool1);
     out1.WriteByte(WSBool2);
 }
开发者ID:babywzazy,项目名称:Server,代码行数:5,代码来源:WSBoolRecord.cs


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